diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-30 15:15:04 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-10-30 22:33:27 +0000 |
commit | 07a5f754da457631dc22e612a01e5d2cb26137d3 (patch) | |
tree | 70799b47b03d832131e7c8653f61e4afa565c5f2 /2022/puzzle-8.lisp | |
parent | cd94c350e69a931f4dfc84ecfe34a333a91b3552 (diff) | |
download | advent-of-code-07a5f754da457631dc22e612a01e5d2cb26137d3.tar.gz advent-of-code-07a5f754da457631dc22e612a01e5d2cb26137d3.tar.bz2 advent-of-code-07a5f754da457631dc22e612a01e5d2cb26137d3.zip |
Update lib.lisp to be more imperative and include a threading macro
Instead of (f (g (h (j (k x))))) we can write
(-> (k x)
(j it)
(h it)
(g it)
(f it))
which is works really well for particularly large and complicated
expressions.
Diffstat (limited to '2022/puzzle-8.lisp')
0 files changed, 0 insertions, 0 deletions