summaryrefslogtreecommitdiff
path: root/docs/type_system/fn.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-05-11 17:05:10 -0400
committernodist <kevin.comas.git@gmail.com>2026-05-11 17:05:10 -0400
commitd3a576f02b5d02245ce98741ffa6440ba5179cfb (patch)
tree86031e3cc117daf9bb2770377d7c75f30044501b /docs/type_system/fn.md
parent6cf3ace5c115ad065de248936f41eda7965fa7a9 (diff)
reduce number of types
Diffstat (limited to 'docs/type_system/fn.md')
-rw-r--r--docs/type_system/fn.md12
1 files changed, 2 insertions, 10 deletions
diff --git a/docs/type_system/fn.md b/docs/type_system/fn.md
index 5bdce1c..6706513 100644
--- a/docs/type_system/fn.md
+++ b/docs/type_system/fn.md
@@ -2,16 +2,8 @@
---
-## Definition
-
-```text
-Fn[RETURN_TYPE; LIST(NAME[VAR...]; ...) BODY; CODE]
-```
-
-## Usage
-
```text
-Fn[TYPE; name; ...]
+Fn_class `alias Enum[.partial; .complete; .iterator; .closure; .bound; .task; .native]
-Fn[name; ...] // Resolves to Fn[Any; ...]
+Fn[RETURN_TYPE; ARGS; SCOPE; STATE; CODE; Fn_class]
```