This post was generated from a literate Haskell file.
In this post, we’ll tackle the 13th problem of AoC2020, Shuttle Search.
Continue reading “Advent of Code #13”life, psychology, mathematics
This post was generated from a literate Haskell file.
In this post, we’ll tackle the 13th problem of AoC2020, Shuttle Search.
Continue reading “Advent of Code #13”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”This post was generated from a literate Haskell file.
In this post we’ll tackle the 8th problem of AoC2020, Handheld Halting.
Continue reading “Advent of Code #8”DST changes in North Macedonia on the last Sunday of October. It happens to be the 25th of October this year.
What can we do with the previous statement, other than generalize it and try to prove a mathematical fact about it? 🙂
Constraint programming is a programming paradigm where problems are stated declaratively. In this post, I will implement a very simple constraint solver.
Continue reading “A simple Constraint Programming implementation”