aboutsummaryrefslogtreecommitdiffhomepage
path: root/samples/aoc/2016/01/solve.bruijn
diff options
context:
space:
mode:
Diffstat (limited to 'samples/aoc/2016/01/solve.bruijn')
-rw-r--r--samples/aoc/2016/01/solve.bruijn2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/aoc/2016/01/solve.bruijn b/samples/aoc/2016/01/solve.bruijn
index 525d311..efdaaaa 100644
--- a/samples/aoc/2016/01/solve.bruijn
+++ b/samples/aoc/2016/01/solve.bruijn
@@ -7,7 +7,7 @@
:import std/Number .
:import std/List .
-direction! [^0 : (S.number! ~0)] ⧗ (List Char) → Direction
+direction! [^0 : (S.string→number ~0)] ⧗ (List Char) → Direction
:test (direction! "R42") ('R' : (+42))