aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/aoc/2021/01/solve.bruijn
diff options
context:
space:
mode:
Diffstat (limited to 'samples/aoc/2021/01/solve.bruijn')
-rw-r--r--samples/aoc/2021/01/solve.bruijn6
1 files changed, 3 insertions, 3 deletions
diff --git a/samples/aoc/2021/01/solve.bruijn b/samples/aoc/2021/01/solve.bruijn
index 1c14b3b..b73c0db 100644
--- a/samples/aoc/2021/01/solve.bruijn
+++ b/samples/aoc/2021/01/solve.bruijn
@@ -1,9 +1,9 @@
-:import std/Math .
:import std/String .
+:import std/Math .
-part1 [{ [[(1 <? 0) (+1) (+0)]] | 0 , ~0 }]
+part1 [{ [[(1 <? 0) (+1) (+0)]] | 0 ; ~0 }]
-part2 [{ [[(1 <? 0) (+1) (+0)]] | 0 , ~(~(~0)) }]
+part2 [{ [[(1 <? 0) (+1) (+0)]] | 0 ; ~(~(~0)) }]
main [parts nums]
nums string→number <$> (lines 0)