summaryrefslogtreecommitdiff
path: root/docs/language
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-09 18:37:35 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-09 18:37:35 -0400
commit2ed2fbbc6f233f8aedf14e5d064451c3dea90d87 (patch)
tree1fb763551926b18b43b1e310e6babe46c870c9f6 /docs/language
parent9d6a15b55bc948227401cb0be721e764e8053b50 (diff)
tracing gc only
Diffstat (limited to 'docs/language')
-rw-r--r--docs/language/index.md10
-rw-r--r--docs/language/ownership.md2
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/language/index.md b/docs/language/index.md
index 8925f96..8ef01fd 100644
--- a/docs/language/index.md
+++ b/docs/language/index.md
@@ -120,6 +120,16 @@ Type[arg]
## Destructuring
+Take values out of a collection
+
+```text
+target [VAR_NAME.TARGET_NAME]
+target [VAR_NAME] // Resolves to VAR_NAME.VAR_NAME
+target [VAR_NAME_AT_INDEX]
+```
+
+### Destructuring Example with Indexes
+
```text
v : Tuple $ (1; 2; 3)
v [a; b; c]
diff --git a/docs/language/ownership.md b/docs/language/ownership.md
index 71e15a7..9f29d8d 100644
--- a/docs/language/ownership.md
+++ b/docs/language/ownership.md
@@ -36,4 +36,6 @@ float_array : Array[F64] $ ()
# Locking
+Prevent access to a container it's contents are modified
+
## References