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