Haskell memoization and evaluation model

I am tackling the Advent of Code challenges in Haskell. In particular, Advent of Code #10 was fun (spoilers clicking on that link, but no spoilers in this blog post itself). Part two required using memoization to be solved, and I had already used memoization in other programming languages but not in Haskell. So I learned the hows and the whys of memoization in Haskell – thus the reason why this article exists.

In order to learn about memoization in Haskell, I did a quick Google and it led me the Memoization article on the Haskell Wiki. That article is good, but it only explains the how, not the why. I will cover both how and why in this blog post.

Continue reading “Haskell memoization and evaluation model”

On faith, unbelief, and doubt

I bought this book (1955) at a Church and it’s been a truly magnificent and refreshing read. There seems to be an English translation, but I am not sure how well it’s translated.

First of all, I should make a note: I am not a religious fanatic, but I consider myself religious. Even if your religion is different (or you are not religious at all), I think this book has a lot to offer.

I am aware that discussions about politics and religion can be touchy. Thus, the point of this post is not to persuade you, merely to list the ideas I found interesting in the book.

Continue reading “On faith, unbelief, and doubt”