32 Commits

Author SHA1 Message Date
George Thomas
40f7a8ee9a Format 2025-12-02 14:27:14 +00:00
George Thomas
60acecb993 Make test tree reflect directory tree 2025-12-02 14:26:45 +00:00
George Thomas
c0504964e3 Refactor to unify day 2 parts 1 and 2
This doesn't noticeably affect the run time.
2025-12-02 13:33:11 +00:00
George Thomas
fe3493aa86 Solve day 2 part 2
This is pretty naive but runs in less than a second when compiled.
2025-12-02 13:32:48 +00:00
George Thomas
6f3855ce4b Minor refactor 2025-12-02 11:22:17 +00:00
George Thomas
ce3e586e0c Refactor to use existential 2025-12-02 11:21:04 +00:00
George Thomas
b19c02811e Refactor to use field puns 2025-12-02 11:20:48 +00:00
George Thomas
c25b6062c6 Refactor to use wildcard 2025-12-02 11:20:00 +00:00
George Thomas
bd4d350e76 Format 2025-12-02 11:15:49 +00:00
George Thomas
3601933bd0 Simplify part solver types
This also gives us the flexibility to have all tests passing when only part 1 is complete.
2025-12-02 11:14:54 +00:00
George Thomas
778249c66b Remove unused field 2025-12-02 11:09:34 +00:00
George Thomas
d4ad05ba50 Solve day 2 part 1 2025-12-02 10:54:12 +00:00
George Thomas
6e8b5dff01 Reformat 2025-12-02 10:46:06 +00:00
George Thomas
72b0132058 Show parse errors 2025-12-02 10:45:45 +00:00
George Thomas
0d9976bfb4 Reformat 2025-12-02 09:38:31 +00:00
George Thomas
90c5e2f0b2 Force Tasty to use colours in GHCID 2025-12-02 09:30:39 +00:00
George Thomas
d88e2a26c6 Use Text 2025-12-02 09:11:42 +00:00
George Thomas
a72342fb11 Refactor to use Megaparsec 2025-12-02 09:08:43 +00:00
George Thomas
b1bd83f089 Minor refactor 2025-12-02 08:56:07 +00:00
George Thomas
ea6ca4158c Minor refactor 2025-12-02 08:56:07 +00:00
George Thomas
14cc0c94ff Format 2025-12-02 08:56:07 +00:00
George Thomas
053c54a23e Move submodule and symlink to make paths simpler 2025-12-02 08:56:07 +00:00
George Thomas
6b2d6f29fd Minor refactor 2025-12-02 08:26:21 +00:00
George Thomas
023276e79c Test real inputs 2025-12-02 08:25:43 +00:00
George Thomas
1e1d4ee88c Use Tasty 2025-12-02 08:23:53 +00:00
George Thomas
c0e76ae1c5 Compare example results against expectations 2025-12-02 08:07:33 +00:00
George Thomas
ac194d1d61 Format 2025-12-02 02:08:23 +00:00
George Thomas
16349685ba Refactor in to parts 2025-12-02 02:07:41 +00:00
George Thomas
b9e69eb983 Refactor to make things more reusable 2025-12-02 02:01:37 +00:00
George Thomas
0efd99220e Solve day 1 part 2 2025-12-02 01:44:53 +00:00
George Thomas
14361a0440 Solve day 1 2025-12-02 01:39:21 +00:00
George Thomas
f193b7c359 Initial 2025-12-02 00:32:49 +00:00