summaryrefslogtreecommitdiff
path: root/docs/type_system/enum.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/type_system/enum.md')
-rw-r--r--docs/type_system/enum.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/type_system/enum.md b/docs/type_system/enum.md
new file mode 100644
index 0000000..9e6be9b
--- /dev/null
+++ b/docs/type_system/enum.md
@@ -0,0 +1,13 @@
+# Enum
+
+---
+
+Unique symbols associated with a type that can map to an underlying type
+
+```text
+Enum[.name; ...] // Resoves to Enum[Void; ...]
+
+Enum[TYPE; .name; ...]
+
+Enum[TYPE; .name : VALUE; ...]
+```