Commit Graph

95 Commits

Author SHA1 Message Date
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
shu
fa612e9eb6 Day 7: Shuffle around a bit 2019-12-07 22:45:18 +01:00
shu
a627f553bb Day 7: Refactor for readability 2019-12-07 20:11:38 +01:00
shu
cd0cc41d4f Day 7: Done 2019-12-07 17:27:35 +01:00
shu
1d26a5e2f8 Day 7: Almost there 2019-12-07 16:02:16 +01:00
shu
c25714bb48 Day 7: WIP 2019-12-07 10:06:47 +01:00
shu
50431be565 Day 6: Make it somewhat more readable 2019-12-06 20:28:10 +01:00
shu
d09b565d9c Day 6 2019-12-06 09:58:42 +01:00
shu
799b000b39 Day 5: Cleanup & golf for now, might document later 2019-12-06 01:20:37 +01:00
shu
dd2bf86d1c Day 5 2019-12-06 01:17:28 +01:00
shu
c05e4b4081 Due to popular demand 2019-12-04 22:07:24 +01:00
shu
fd626a2f30 Add version with parsing
I found this highly unnecessary but whatever
2019-12-04 16:18:23 +01:00
shu
6e9b85b894 2019-12-04 11:13:17 +01:00
shu
4892b3fcac Still not completely on board with this 2019-12-04 09:53:34 +01:00
shu
a3d0bcde24 Stole Fichte’s parse idea 2019-12-04 09:30:38 +01:00
shu
137e8c22e9 eh 2019-12-04 08:21:27 +01:00
shu
61958979c6 Why reimplement show 2019-12-04 08:16:15 +01:00
shu
a07b6fba16 Day 4: Initial version
Now to look at other solutions
2019-12-04 08:02:39 +01:00
shu
8cfca9295e delete intersections entirely because we play golf 2019-12-04 00:48:16 +01:00
shu
e64af48b80 Fix solution
6ef036e2c5a actually made the solution incorrect, the list comprehension
for part b relied on V 0 0 being in the list for the element to match
    the step number. The magic oneliner is rad tho so simply adjust the
    list comprehension.
2019-12-04 00:43:18 +01:00
shu
e544fbb877 day 3: elemIndex exists, amaze 2019-12-03 23:27:32 +01:00
shu
6ef036e2c5 day 3: small tweak 2019-12-03 16:10:48 +01:00
shu
0e03545e94 day 3: Improve the solution a bit 2019-12-03 15:50:55 +01:00
shu
3ffa8fac0f day 3: small tweaks 2019-12-03 08:17:42 +01:00
shu
b782929e01 day 3 2019-12-03 07:49:10 +01:00
shu
e0c79b9edd use concatMap 2019-12-02 09:23:25 +01:00
shu
799a12675d day 2 2019-12-02 08:17:43 +01:00
shu
ee975cb56a Use Ints
yay for infix div which I somehow forgot about
2019-12-01 09:37:00 +01:00
shu
4e58ab46eb day1 2019-12-01 09:02:57 +01:00
shu
d03d580749 first commit 2019-12-01 09:02:14 +01:00