Commit Graph

78 Commits

Author SHA1 Message Date
shu 5d217c1da2 Day 18: Travelling salesman doesn’t wanna work
Implementation should be complete in any case
2019-12-18 19:06:56 +01:00
shu aecf61358f Day 18: Some Progress
goal needs to be x, so moved into the list comprehension
2019-12-18 18:30:47 +01:00
shu 02bfd4d708 Day 18: remove comments & cruft 2019-12-18 15:03:31 +01:00
shu 725fd929be Day 18: Distance calculation works 2019-12-18 15:02:42 +01:00
shu 1648db9487 Day 17: Almost working 2019-12-17 22:34:14 +01:00
shu dedbad960e Day 15: Part 2 is solvable
Only manually, but who cares, this is a fun enough game to play and
doesn’t take very long
2019-12-15 15:30:41 +01:00
shu 58509b8d56 Day 15 Part 1 2019-12-15 14:17:53 +01:00
shu 7078a4fb36 Day 10: Actually … 2019-12-14 15:58:16 +01:00
shu b2542fa250 Day 10: Minor cleanup
Still not pretty but at least nothing glaring
2019-12-14 15:56:18 +01:00
shu e111bbc48d Day 14: Interesting but wrong solution 2019-12-14 13:12:29 +01:00
shu dd8dfd20d7 Day 13: Move readIntcode to Intcode.hs 2019-12-13 19:56:08 +01:00
shu 5caa4b44db Day 13: Add input 2019-12-13 19:46:14 +01:00
shu 230e0477a3 Helpers: Maek lambda 2019-12-13 19:35:17 +01:00
shu 3e42c47585 Day 13: Enterprise it up 2019-12-13 19:19:55 +01:00
shu e6280785b3 Day 13 Part 1 + game print 2019-12-13 11:34:11 +01:00
shu 3cf5c0179d Day 11: Find bounds, print map, move to Helpers 2019-12-13 10:45:20 +01:00
shu b8e7d09015 Day 11: Improve bounds
Some day lenses, maybe, when I read up on them
2019-12-12 22:55:44 +01:00
shu c94ec57f9f Day 11 Part 2 done 2019-12-12 22:06:32 +01:00
shu bd832427bc Day 11 Part 1 2019-12-12 20:45:35 +01:00
shu e7b2c8b88c Day 9: Formatting, Eta reduce 2019-12-12 17:45:43 +01:00
shu b651afdb29 Day 9: Even more refactor 2019-12-12 17:43:55 +01:00
shu 84bd9e7c08 Day 9: Minor refactor
Motivated by Day 11
2019-12-12 15:22:20 +01:00
shu b177b0daa5 Day 12: lcm is in Prelude :veryironicwow: 2019-12-12 13:23:54 +01:00
shu 457a7e7d73 Day 12: Aesthetics 2019-12-12 12:18:19 +01:00
shu 12d28015d4 Day 12: Forgot to use the formatter 2019-12-12 10:56:42 +01:00
shu 5e171b20c0 Day 12 Part 1 2019-12-12 10:55:24 +01:00
shu 148c568850 Day 12 Part 1 2019-12-12 07:49:36 +01:00
shu eba2d41b29 Day 9: Might want to remove the import too 2019-12-12 01:43:13 +01:00
shu f274db5fbe Day 9: I like error more than custom exceptions 2019-12-11 20:45:43 +01:00
shu 345d628347 Day 9: Refactor
We enterprise now
2019-12-11 20:21:55 +01:00
shu 6522ad7018 Day 10 input 2019-12-11 02:21:14 +01:00
shu 03fb44ccd1 Day 10: Done, cleanup later 2019-12-11 02:20:24 +01:00
shu 532e7f3eb6 Day 10: WIP 2019-12-10 21:21:20 +01:00
shu a30619784e Day 9: Adjust comment 2019-12-09 20:42:13 +01:00
shu 12c6450ce8 Day 7: Remove DeepSeq.force
Fascinatingly makes this day slower—by quite a bit.
2019-12-09 20:36:08 +01:00
shu 5175f95da0 Day 7: Some day 9 backports cuz I felt like it 2019-12-09 20:34:43 +01:00
shu 90a65ce187 Day 9: Some more cosmetics 2019-12-09 17:35:34 +01:00
shu bef16465d7 Day 9: 150 is enough
Might want to use mutable vectors tho
2019-12-09 15:42:19 +01:00
shu af544aaec9 Day 9: Cleanup, fix memory leak 2019-12-09 11:37:51 +01:00
shu 2609de6861 Day 9 2019-12-09 10:31:36 +01:00
shu 000d745174 Day 8: Golf some more
This is a terrible idea but let’s do it anyway
Refer to previous commits for readable code
2019-12-09 02:55:05 +01:00
shu 53d5029377 Day 4: Another small meme 2019-12-09 02:21:01 +01:00
shu 99d4c67b7b Day 8: For the memes 2019-12-08 22:00:27 +01:00
shu 0b720099a3 Day 7: Go back to case of
Looks prettier, and is what I had initially when it was still monads
2019-12-08 19:51:54 +01:00
shu 02a14fcfb2 Day 7: Work through Linter spam 2019-12-08 19:07:16 +01:00
shu fb1f3e7d04 Day 8: We HLint now 2019-12-08 08:29:36 +01:00
shu 8cca2cdc1d Day 8: Some shuffling 2019-12-08 07:26:57 +01:00
shu e598a06bc8 Day 8: minimumBy and unlines are a thing 2019-12-08 07:25:22 +01:00
shu 8400b5d393 Day 8: Some cleanup 2019-12-08 07:14:04 +01:00
shu 8413a89bf8 Day 8 2019-12-08 07:03:28 +01:00