summaryrefslogtreecommitdiff
path: root/docs/type_system/union.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-05-14 14:30:08 -0400
committernodist <kevin.comas.git@gmail.com>2026-05-14 14:30:08 -0400
commita3ce6487e845a534bd0d710e19957cdf7001a7a8 (patch)
tree0f37ef1d1e1a9e0cfc7efb1f4f3db4f4d9449ebb /docs/type_system/union.md
parentc7c05cf589b3235b7b7749ff745005bf2fc543c6 (diff)
task holds error
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
+}
```