diff options
Diffstat (limited to 'docs/type_system/function.md')
| -rw-r--r-- | docs/type_system/function.md | 18 |
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 |
