diff options
Diffstat (limited to 'docs/type_system/group.md')
| -rw-r--r-- | docs/type_system/group.md | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/docs/type_system/group.md b/docs/type_system/group.md deleted file mode 100644 index 48781af..0000000 --- a/docs/type_system/group.md +++ /dev/null @@ -1,46 +0,0 @@ -# Group - ---- - -A sequence of different types accessed by index or a symbol mapped to an index - -```text -Group[[TUPLE | TABLE] Collection[VAR_TREE_LIST; TYPE.SYMBOL]] -``` - -## Type Body Object Definitions - -```c -typedef struct { - kpl_type *var_tree, *var_list; -} kpl_type_body_group; -``` - -# Alias - -```text -Tuple `definition Group[[TUPLE] Collection[VAR_TREE_LIST; TYPE.SYMBOL]] - -Table `definition Group[[TABLE] Collection[VAR_TREE_LIST; TYPE.SYMBOL]] -``` - -# Operators - -## Symbol Access - -## ``get` - -## ``set` - -```text -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) -``` - -# Destructuring - -# Mutating |
