From 3a9cf2508dc7341a6d8ff4b8174064600d704994 Mon Sep 17 00:00:00 2001 From: nodist Date: Sun, 21 Jun 2026 11:51:41 -0400 Subject: update memory objs --- docs/type_system/function.md | 18 ++++++++++++++---- docs/type_system/map.md | 2 ++ docs/type_system/namespace.md | 2 +- 3 files changed, 17 insertions(+), 5 deletions(-) (limited to 'docs/type_system') 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 diff --git a/docs/type_system/map.md b/docs/type_system/map.md index 43e1291..68b0464 100644 --- a/docs/type_system/map.md +++ b/docs/type_system/map.md @@ -18,6 +18,8 @@ Set[Generic.T] `alias Map[Generic.T; Void] ## ``set` +## ``has` + ## Concatenate `,` # Iterating diff --git a/docs/type_system/namespace.md b/docs/type_system/namespace.md index 9ae61ba..8e300b9 100644 --- a/docs/type_system/namespace.md +++ b/docs/type_system/namespace.md @@ -10,7 +10,7 @@ Namespace[[NATIVE | MODULE] NAMESPACE_IDENTIFIER] ### \`export -#### Type must be Fn, Overload, Const or Shared to export +#### Type must be Fn[STATELESS], Overload, Const, Shared or Namespace to export #### Re-exporting -- cgit v1.2.3