aboutsummaryrefslogtreecommitdiffhomepage
path: root/std/Char.bruijn
diff options
context:
space:
mode:
Diffstat (limited to 'std/Char.bruijn')
-rw-r--r--std/Char.bruijn3
1 files changed, 2 insertions, 1 deletions
diff --git a/std/Char.bruijn b/std/Char.bruijn
index cdab0bf..a10f304 100644
--- a/std/Char.bruijn
+++ b/std/Char.bruijn
@@ -1,5 +1,6 @@
# MIT License, Copyright (c) 2023 Marvin Borner
-:input std/Number/Binary .
+:input std/Number/Binary
+# converts a char to a balanced ternary number
number! [ternary! (0 - '0')] ⧗ Char → Number