aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/aoc/2022/01/solve.bruijn
diff options
context:
space:
mode:
Diffstat (limited to 'samples/aoc/2022/01/solve.bruijn')
-rw-r--r--samples/aoc/2022/01/solve.bruijn2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/aoc/2022/01/solve.bruijn b/samples/aoc/2022/01/solve.bruijn
index 94b4cf7..7b2eaf6 100644
--- a/samples/aoc/2022/01/solve.bruijn
+++ b/samples/aoc/2022/01/solve.bruijn
@@ -2,7 +2,7 @@
:import std/String .
main [answer]
- numbers number! <$> (lines 0)
+ numbers string→number <$> (lines 0)
parts split-list-by =?‣ numbers
sums sum <$> parts
answer build (sort-desc sums)