about summary refs log tree commit diff stats
path: root/modal/ocaml/examples/print_and_list.modal
diff options
context:
space:
mode:
Diffstat (limited to 'modal/ocaml/examples/print_and_list.modal')
-rw-r--r--modal/ocaml/examples/print_and_list.modal5
1 files changed, 5 insertions, 0 deletions
diff --git a/modal/ocaml/examples/print_and_list.modal b/modal/ocaml/examples/print_and_list.modal
new file mode 100644
index 0000000..3de51cb
--- /dev/null
+++ b/modal/ocaml/examples/print_and_list.modal
@@ -0,0 +1,5 @@
+<> (print List (?: ?x)) (print List ?x)
+<> (print List ()) ()
+
+.. (print List (h (e (l (l (o ()))))))
+