about summary refs log tree commit diff stats
path: root/modal/tests/cases/02_copy_swap.modal
diff options
context:
space:
mode:
Diffstat (limited to 'modal/tests/cases/02_copy_swap.modal')
-rw-r--r--modal/tests/cases/02_copy_swap.modal4
1 files changed, 4 insertions, 0 deletions
diff --git a/modal/tests/cases/02_copy_swap.modal b/modal/tests/cases/02_copy_swap.modal
new file mode 100644
index 0000000..5d51f9b
--- /dev/null
+++ b/modal/tests/cases/02_copy_swap.modal
@@ -0,0 +1,4 @@
+<> (copy ?a) (?a ?a)
+<> (swap ?x ?y) (?y ?x)
+
+(copy cat) (swap bat rat)