summaryrefslogtreecommitdiff
path: root/docs/type_system/var.md
diff options
context:
space:
mode:
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
+```