aoc2022 solutions, entirely in haskell
Go to file
Jill dca25b6003 day 23, 25 2022-12-27 05:25:37 +03:00
.gitignore day 5, undo clean mistake (that ended up almost deleting actual code) 2022-12-05 09:12:38 +03:00
1-a.hs init d1-4 2022-12-04 09:11:45 +03:00
1-b.hs init d1-4 2022-12-04 09:11:45 +03:00
2-a.hs init d1-4 2022-12-04 09:11:45 +03:00
2-b.hs init d1-4 2022-12-04 09:11:45 +03:00
3-a-v2.hs init d1-4 2022-12-04 09:11:45 +03:00
3-a.hs init d1-4 2022-12-04 09:11:45 +03:00
3-b-v2.hs chunkList exists, apparently 2022-12-04 09:23:30 +03:00
3-b.hs init d1-4 2022-12-04 09:11:45 +03:00
4-a.hs init d1-4 2022-12-04 09:11:45 +03:00
4-b.hs init d1-4 2022-12-04 09:11:45 +03:00
5-a.hs fun fact! transpose exists 2022-12-05 09:58:43 +03:00
5-b.hs fun fact! transpose exists 2022-12-05 09:58:43 +03:00
6-a.hs day 6: remember that find exists 2022-12-06 10:26:56 +03:00
6-b.hs day 6: remember that find exists 2022-12-06 10:26:56 +03:00
7-a.hs day 7 2022-12-07 11:14:01 +03:00
7-b.hs day 7 2022-12-07 11:14:01 +03:00
8-a.hs day 8 formatting consistency 2022-12-09 13:46:27 +03:00
8-b.hs day 8 formatting consistency 2022-12-09 13:46:27 +03:00
9-a.hs day 9 2022-12-09 13:43:49 +03:00
9-b.hs day 9 2022-12-09 13:43:49 +03:00
10-a.hs day 10 (ft. readme amendment. thanks day 10) 2022-12-10 12:10:25 +03:00
10-b.hs day 10 (ft. readme amendment. thanks day 10) 2022-12-10 12:10:25 +03:00
11-a.hs day 11 2022-12-11 16:52:35 +03:00
11-b.hs day 11 2022-12-11 16:52:35 +03:00
12-a.hs day 12 dead code cleanup 2022-12-12 18:23:24 +03:00
12-b.hs day 12 dead code cleanup 2022-12-12 18:23:24 +03:00
13-a.hs day 13: remove unused imports 2022-12-13 14:32:04 +03:00
13-b.hs day 13: remove unused imports 2022-12-13 14:32:04 +03:00
13-extra.hs day 13 2022-12-13 14:30:11 +03:00
14-a.hs day 14 2022-12-14 18:16:15 +03:00
14-b.hs day 14 2022-12-14 18:16:15 +03:00
15-a.hs day 15, common lib creation 2022-12-15 17:27:48 +03:00
15-b.hs day 15, common lib creation 2022-12-15 17:27:48 +03:00
16-a.hs day 18 (ft. failed 16 and 17) 2022-12-18 22:26:58 +03:00
17-a.hs day 18 (ft. failed 16 and 17) 2022-12-18 22:26:58 +03:00
18-a.hs day 18 (ft. failed 16 and 17) 2022-12-18 22:26:58 +03:00
18-b.hs day 18 (ft. failed 16 and 17) 2022-12-18 22:26:58 +03:00
19-a.hs + day 21 (ft. failed 19, 20 attempts) 2022-12-21 22:03:05 +03:00
20-a.hs day 20 2022-12-22 03:35:01 +03:00
20-b.hs day 20 2022-12-22 03:35:01 +03:00
21-a.hs + day 21 (ft. failed 19, 20 attempts) 2022-12-21 22:03:05 +03:00
21-b.hs + day 21 (ft. failed 19, 20 attempts) 2022-12-21 22:03:05 +03:00
22-a.hs day 23, 25 2022-12-27 05:25:37 +03:00
23-a.hs day 23, 25 2022-12-27 05:25:37 +03:00
23-b.hs day 23, 25 2022-12-27 05:25:37 +03:00
25-a.hs day 23, 25 2022-12-27 05:25:37 +03:00
AStar.hs day 12 2022-12-12 17:51:56 +03:00
Common.hs day 23, 25 2022-12-27 05:25:37 +03:00
README.md day 13 2022-12-13 14:30:11 +03:00
clean.sh day 5, undo clean mistake (that ended up almost deleting actual code) 2022-12-05 09:12:38 +03:00

README.md

aoc2022

entirely in haskell :)

how do i run this

you shouldn't; but for documentation purposes it's

$ ghc 1-a.hs && cat 1_input | ./1-a

you'll need to retrieve 1_input from your aoc, but all programs will strictly take in the aoc input and output what can be pasted into the anwser field (thanks, day 10 part 2!)

occasionally, i'll also leave -extra.hs files for misc stuff i never ended up using but was neat anyways and i wanted to preserve