summaryrefslogtreecommitdiff
path: root/2020/10.in
Commit message (Collapse)AuthorAge
* Day 10Tom Smeding2020-12-13
This one is particularly nice in Haskell, since transforming the naive recursive function to a memoised, linear form was literally a matter of writing the recursion using an explicit fixpoint combinator, and then replacing the recursive call with a lazy array index. This is where laziness shines.