summaryrefslogtreecommitdiff
path: root/docs/type_system/fn.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-05-10 16:22:47 -0400
committernodist <kevin.comas.git@gmail.com>2026-05-10 16:22:47 -0400
commit6cf3ace5c115ad065de248936f41eda7965fa7a9 (patch)
tree9986219563aaa8e829486b1aaa32248923f8a0b3 /docs/type_system/fn.md
parent43b760058ae67f060fe89e6538d872fe982b3cb6 (diff)
add all type pages
Diffstat (limited to 'docs/type_system/fn.md')
-rw-r--r--docs/type_system/fn.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/type_system/fn.md b/docs/type_system/fn.md
new file mode 100644
index 0000000..5bdce1c
--- /dev/null
+++ b/docs/type_system/fn.md
@@ -0,0 +1,17 @@
+# Fn
+
+---
+
+## Definition
+
+```text
+Fn[RETURN_TYPE; LIST(NAME[VAR...]; ...) BODY; CODE]
+```
+
+## Usage
+
+```text
+Fn[TYPE; name; ...]
+
+Fn[name; ...] // Resolves to Fn[Any; ...]
+```