summaryrefslogtreecommitdiff
path: root/docs/type_system/union.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/type_system/union.md')
-rw-r--r--docs/type_system/union.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/type_system/union.md b/docs/type_system/union.md
index 2fde486..57eedb4 100644
--- a/docs/type_system/union.md
+++ b/docs/type_system/union.md
@@ -3,5 +3,14 @@
---
```text
-Union[TYPE.SYMBOL; ...]
+Union[TYPE.symbol; ...]
+```
+
+```text
+u : Union[I64.a; I64.b; I64.c] $ (.c : 5)
+
+# u {
+ .c { c ... }[c]
+ { ... } // default
+}
```