aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/aoc/2023/01/solve.bruijn
diff options
context:
space:
mode:
Diffstat (limited to 'samples/aoc/2023/01/solve.bruijn')
-rw-r--r--samples/aoc/2023/01/solve.bruijn2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/aoc/2023/01/solve.bruijn b/samples/aoc/2023/01/solve.bruijn
index 5fdfa88..74361a2 100644
--- a/samples/aoc/2023/01/solve.bruijn
+++ b/samples/aoc/2023/01/solve.bruijn
@@ -2,6 +2,6 @@
:import std/String .
:import std/Char C
-part1 [[^0 ⋅ (+10) + _0] (filter (gre? (+9)) (C.number! <$> 0))]
+part1 [[^0 ⋅ (+10) + _0] (filter (gre? (+9)) (C.char→number <$> 0))]
main [∑(part1 <$> (lines 0))]