diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-06-26 15:56:39 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-06-26 15:56:39 -0400 |
| commit | ad516054002b4105197ef4fc37ac380cdf680750 (patch) | |
| tree | d0603a1dbc01ed777b304ac8567247491f8a5159 /docs/type_system/group.md | |
| parent | 6f507405ac3b0a128c63134997849203e3493a91 (diff) | |
change how vars are identified
Diffstat (limited to 'docs/type_system/group.md')
| -rw-r--r-- | docs/type_system/group.md | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/docs/type_system/group.md b/docs/type_system/group.md index 83fb4a5..d9c2d2d 100644 --- a/docs/type_system/group.md +++ b/docs/type_system/group.md @@ -5,19 +5,21 @@ A sequence of different types accessed by index or a symbol mapped to an index ```text -Group[[INDEX | SYMBOL] Collection[TYPE.SYMBOL]] +Group[[INDEX | SYMBOL] Collection[VAR_TREE; TYPE.SYMBOL]] ``` # Alias ```text -Tuple[Collection[TYPE.SYMBOL]] `alias Group[[INDEX] Collection[TYPE.SYMBOL]] +Tuple[Collection[TYPE.SYMBOL]] `alias Group[[INDEX] Collection[VAR_TREE; TYPE.SYMBOL]] -Table[Collection[TYPE.SYMBOL]] `alias Group[[SYMBOL] Collection[TYPE.SYMBOL]] +Table[Collection[TYPE.SYMBOL]] `alias Group[[SYMBOL] Collection[VAR_TREE; TYPE.SYMBOL]] ``` # Operators +## Symbol Access + ## ``get` ## ``set` @@ -27,6 +29,7 @@ Result[Void] : target `set (KEY; VALUE) items : Tuple $ (1; 2; 3) items `set (0; 4) +// ^ items.0 {[i] i : 4 } `log items // Tuple[I64; I64; I64] $ (4; 2; 3) ``` |
