diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2020-12-13 21:47:50 +0100 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2020-12-13 21:47:50 +0100 |
commit | d90266f905d2713c23bf3512f4bb654e8e148174 (patch) | |
tree | da6e5681ddeeb68d8e3e1ad0ec0f4f8ad50f8c5a /2017/6.hs | |
parent | 3ca5033e1ddd578dd5c6a3b0e8488751c879f10b (diff) |
Day 10
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.
Diffstat (limited to '2017/6.hs')
0 files changed, 0 insertions, 0 deletions