about summary refs log tree commit diff stats
path: root/modal/ocaml/examples/arith.modal
diff options
context:
space:
mode:
Diffstat (limited to 'modal/ocaml/examples/arith.modal')
-rw-r--r--modal/ocaml/examples/arith.modal13
1 files changed, 13 insertions, 0 deletions
diff --git a/modal/ocaml/examples/arith.modal b/modal/ocaml/examples/arith.modal
new file mode 100644
index 0000000..2193724
--- /dev/null
+++ b/modal/ocaml/examples/arith.modal
@@ -0,0 +1,13 @@
+.. (?: + 10 2)
+.. (?: - 10 2)
+.. (?: * 6 7)
+.. (?: / 21 3)
+.. (?: % 21 5)
+.. (?: & 6 3)
+.. (?: ^ 6 3)
+.. (?: | 6 1)
+.. (?: = 5 5)
+.. (?: ! 5 6)
+.. (?: > 9 2)
+.. (?: < 2 9)
+