diff options
Diffstat (limited to 'docs/type_system/union.md')
| -rw-r--r-- | docs/type_system/union.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/type_system/union.md b/docs/type_system/union.md index 57eedb4..f2c4ae0 100644 --- a/docs/type_system/union.md +++ b/docs/type_system/union.md @@ -14,3 +14,14 @@ u : Union[I64.a; I64.b; I64.c] $ (.c : 5) { ... } // default } ``` +## Alias + +```text +Result[ANY] `alias Union[ANY.value; Error.error] +``` + +## \`take + +```text +value : .value `take 10 / var +``` |
