summaryrefslogtreecommitdiff
path: root/docs/type_system/var.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-07-16 17:50:07 -0400
committernodist <kevin.comas.git@gmail.com>2026-07-16 17:50:07 -0400
commite950f786e25967a222cfa7bce7327ffd458e8c95 (patch)
tree8c0cc77ac43806b146a49f74db2332a6181a2515 /docs/type_system/var.md
parent224c245a875a6f28c01e93d037329c708ef81dd4 (diff)
add generics
Diffstat (limited to 'docs/type_system/var.md')
-rw-r--r--docs/type_system/var.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/type_system/var.md b/docs/type_system/var.md
index 8af2da5..6bf114d 100644
--- a/docs/type_system/var.md
+++ b/docs/type_system/var.md
@@ -14,3 +14,11 @@ typedef struct {
kpl_identifier identifier;
} kpl_type_body_var;
```
+
+## Function Vars
+
+Each var in a function belongs to a scope within that function
+
+```text
+var -> list -> function
+```