summaryrefslogtreecommitdiff
path: root/autochomp/tests/compare/sheep.nb
diff options
context:
space:
mode:
Diffstat (limited to 'autochomp/tests/compare/sheep.nb')
-rw-r--r--autochomp/tests/compare/sheep.nb3
1 files changed, 3 insertions, 0 deletions
diff --git a/autochomp/tests/compare/sheep.nb b/autochomp/tests/compare/sheep.nb
new file mode 100644
index 0000000..1016fec
--- /dev/null
+++ b/autochomp/tests/compare/sheep.nb
@@ -0,0 +1,3 @@
+let opt(x) = _ | x;
+let plus(x) = [rec](x . opt(rec));
+match "ba" . plus("a");