aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/aoc/2018/01/solve.bruijn
diff options
context:
space:
mode:
authorMarvin Borner2024-03-03 15:03:41 +0100
committerMarvin Borner2024-03-03 22:29:24 +0100
commit6ae44d09faa0ae353c0818705503cad42127d102 (patch)
treea923d00d520f85a608f51416184e5b3b6f178549 /samples/aoc/2018/01/solve.bruijn
parent03155d6e515c76d5ab59f814592484c849313130 (diff)
Even more samples
wtf
Diffstat (limited to 'samples/aoc/2018/01/solve.bruijn')
-rw-r--r--samples/aoc/2018/01/solve.bruijn2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/aoc/2018/01/solve.bruijn b/samples/aoc/2018/01/solve.bruijn
index cb47892..0fd0448 100644
--- a/samples/aoc/2018/01/solve.bruijn
+++ b/samples/aoc/2018/01/solve.bruijn
@@ -11,5 +11,5 @@ part2 z [[[[rec]]]] S.empty (+0) ⧗ (List FrequencyDiff) → Frequency
case-end 1
main [parts nums]
- nums signed-number! <$> (init (lines 0))
+ nums string→signed-number <$> (init (lines 0))
parts [(part1 0) : (part2 (cycle 0))]