diff options
author | Marvin Borner | 2024-03-21 13:23:41 +0100 |
---|---|---|
committer | Marvin Borner | 2024-03-21 13:34:34 +0100 |
commit | 2065029025c6e53eb550717755996d1d6fc5f60d (patch) | |
tree | b2ed64b9cb890925a57edc0577ef6faab7519b61 /samples/aoc/2021/01/solve.bruijn | |
parent | 93b53a5354620d94b128008d0b17670cc87c92f5 (diff) |
Fixed AOC samples
Diffstat (limited to 'samples/aoc/2021/01/solve.bruijn')
-rw-r--r-- | samples/aoc/2021/01/solve.bruijn | 6 |
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) |