summaryrefslogtreecommitdiff
path: root/lib/std/option.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/option.myr')
-rw-r--r--lib/std/option.myr7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/std/option.myr b/lib/std/option.myr
new file mode 100644
index 0000000..271355d
--- /dev/null
+++ b/lib/std/option.myr
@@ -0,0 +1,7 @@
+pkg std =
+ type option(@a) = union
+ `Some @a
+ `None
+ ;;
+;;
+