summaryrefslogtreecommitdiff
path: root/docs/type_system/function.md
diff options
context:
space:
mode:
authornodist <kevin.comas.git@gmail.com>2026-06-21 11:51:41 -0400
committernodist <kevin.comas.git@gmail.com>2026-06-21 11:51:41 -0400
commit3a9cf2508dc7341a6d8ff4b8174064600d704994 (patch)
tree63c3196cec86824f237ac82d92aa43c56010e607 /docs/type_system/function.md
parent900445604bc38ef43d89f0c11f0cc61ce3cb0bce (diff)
update memory objs
Diffstat (limited to 'docs/type_system/function.md')
-rw-r--r--docs/type_system/function.md18
1 files changed, 14 insertions, 4 deletions
diff --git a/docs/type_system/function.md b/docs/type_system/function.md
index 57b0abf..baf7337 100644
--- a/docs/type_system/function.md
+++ b/docs/type_system/function.md
@@ -5,9 +5,11 @@
```text
INVOCATION : UNKNOWN | SYNC | ASYNC
-CLASS : INCOMPLETE | NATIVE | TASK | PROCESS | GENERATOR | ITERATOR | CLOSURE | BOUND | REGEX
+STATELESS : INCOMPLETE | NATIVE | NATIVE_INLINE | PROCESS | GENERATOR | REGEX_GENERATOR
-FLAGS : INVOCATION | CLASS
+STATEFUL : TASK | ITERATOR | CLOSURE | BOUND | REGEX
+
+FLAGS : INVOCATION | STATELESS | STATEFUL
Function[[FLAGS]; STATE; List; RETURN_TYPE; Collection[TYPE.SYMBOL]]
```
@@ -37,7 +39,11 @@ A function with an incomplete type, type checking occurs at invocation
## Native
-Native function wrapper
+Native C code that can be called async
+
+## Native Inline
+
+Native C code that cannot be called async
## Task
@@ -51,6 +57,10 @@ A list of tasks with state
A function for creating an iterator
+## Regex Generator
+
+A function for creating Regular Expression matcher
+
## Iterator
A task creator with state, cannot take arguments, can be called until done
@@ -65,7 +75,7 @@ A function with some arguments already set
## Regex
-Regular Expression
+Invoked regular expression matcher
# Returning