summaryrefslogtreecommitdiff
path: root/docs/type_system/union.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-09 10:07:44 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-09 10:07:44 -0400
commit4da9de3213a28c7e17945168acdb06308bb41df8 (patch)
tree6bc6a3ff8653eb7bfe6591c36a7ab9b491649b9d /docs/type_system/union.md
parentfaac96fff84c45acf20af0515e8fd43af32fdaca (diff)
use group for tuple and table
Diffstat (limited to 'docs/type_system/union.md')
-rw-r--r--docs/type_system/union.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/type_system/union.md b/docs/type_system/union.md
index 2c4be2d..79c4987 100644
--- a/docs/type_system/union.md
+++ b/docs/type_system/union.md
@@ -5,11 +5,19 @@
```text
Union_class `alias Enum[.container; .transient]
-Union[Union_class; TYPE.symbol; ...]
+Union[Union_class; Collection[TYPE.SYMBOL]]
```
+# Alias
+
+```text
+Tag[Collection[TYPE.SYMBOL]] `alias Union[.container; Collection[TYPE.SYMBOL]]
+```
+
+## Tag Example
+
```text
-u : Union[I64.a; I64.b; I64.c] $ (.c : 5) // defaults to Union[.container; ...]
+u : Tag[I64.a; I64.b; I64.c] $ (.c : 5)
# u {
.c {[c] c ... }