Commit Graph

13 Commits

Author SHA1 Message Date
7debbf7acb Code tidy up for 2024 day 21. 2024-12-21 16:18:45 +00:00
1f8a8a8e53 Day 2024 part 1 2024-12-20 09:34:32 +00:00
aaa031e6c6 Move memoize to the Aoc library. 2024-12-19 11:53:59 +00:00
932b2c926c Tidy up code for 2024 day 12.
This still has some mutable state.
2024-12-12 10:23:08 +00:00
c81de6e642 Tidy up 2024 day 11 code. 2024-12-11 15:45:27 +00:00
8bfe33fece Add pow10, log10i and digits10 functions
These are used by a couple of solutions now.
2024-12-11 09:16:08 +00:00
fe93f65f6a Moved Grid to Aoc module. 2024-12-10 11:31:02 +00:00
831bbf4f63 Move IntPair and PosSet into Aoc library.
These are obviously generic enough and useful for the future that they
can be moved to a shared library.
2024-12-06 17:15:37 +00:00
590637e0de Upgrade Ocamlformat version. 2024-12-06 15:42:18 +00:00
c6fb838463 Make ints_of_string generic and move to lib. 2024-12-05 15:43:18 +00:00
2ee7f6a3d3 Rename functions to be more idiomatic. 2024-12-03 08:53:02 +00:00
efdde2441b Add a generic main function. 2024-12-02 09:46:15 +00:00
85bccdec58 Add day 2402. 2024-12-02 08:40:32 +00:00