aboutsummaryrefslogtreecommitdiff
path: root/test/huh.bruijn
diff options
context:
space:
mode:
Diffstat (limited to 'test/huh.bruijn')
-rw-r--r--test/huh.bruijn18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/huh.bruijn b/test/huh.bruijn
new file mode 100644
index 0000000..7db06c7
--- /dev/null
+++ b/test/huh.bruijn
@@ -0,0 +1,18 @@
+:import std/Number/Ternary .
+:import std/List .
+
+# main map [ternary! (0 - 0)]
+
+# main [sub (+1b) (+1b)]
+
+# main [pad (+1b) (+2b)]
+
+# main [pad-right (+6) 'a' "hah"]
+
+# main [|((+6) - ∀"hah")]
+
+# main [(+1) - ∀"aa"]
+
+# main [∀([0] : ([0] : {}[0])) - (+0)]
+
+main [∀([0] : ([0] : {}[0])) + (+0)]