diff options
| author | nodist <kevin.comas.git@gmail.com> | 2026-06-08 16:17:14 -0400 |
|---|---|---|
| committer | nodist <kevin.comas.git@gmail.com> | 2026-06-08 16:17:14 -0400 |
| commit | ca458bfcd65c3a094fd0721cb5cd9f74dee5f845 (patch) | |
| tree | 084de1c6d98fd1cdffe3d0bc47ed5af24e491fb8 /docs/type_system/namespace.md | |
| parent | 47dfee7481d9f64d0518ea7a408af113cffd84c6 (diff) | |
remove action from ast
Diffstat (limited to 'docs/type_system/namespace.md')
| -rw-r--r-- | docs/type_system/namespace.md | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/docs/type_system/namespace.md b/docs/type_system/namespace.md index f6b8b1c..e5b0020 100644 --- a/docs/type_system/namespace.md +++ b/docs/type_system/namespace.md @@ -13,20 +13,33 @@ A file with code ### \`export -##### Type must be Fn, Overload, Const or Shared to export +#### Type must be Fn, Overload, Const or Shared to export + +#### Re-exporting ## Imports ### \`import ```text -Namespace `import Value[String] +namespace : `import Value[String] ``` +All imports are relative to the importer + ### \`use ```text -Namespace `use Value[String] +namespace : `use Value[String] +``` + +## Namespace destructuring + +```text +namespace : `use Value[String] +namespace[scope_name.namespace_name] +namespcae[name] // resolves to namespace[name.name] +`use Value[String] [name] ``` ## Main |
