From f3d45a1ca914d59968531a6d5c409d80b73e53c3 Mon Sep 17 00:00:00 2001 From: razetime Date: Thu, 20 Jan 2022 11:57:50 +0530 Subject: complete REPL help for symbols --- docs/help/export.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 docs/help/export.html (limited to 'docs/help/export.html') diff --git a/docs/help/export.html b/docs/help/export.html new file mode 100644 index 00000000..dced1f53 --- /dev/null +++ b/docs/help/export.html @@ -0,0 +1,23 @@ + + + + BQN: Leftward Double Arrow (`⇐`) + + +

Leftward Double Arrow ()

+

n v: Export Definition

+

Define a variable with name n and export it from the current namespace or program's scope.

+↗️
    ns  { exported  5, unexported  0}
+    ns.exported
+5
+    ns.unexported
+Error: No key found
+
+

𝕨 : Export names

+

Export the names given in 𝕩 from the current namespace or program's scope. Names must be defined.

+↗️
    ns1  { alsoexported, exported  5, alsoexported  0}
+    ns1.exported
+5
+    ns1.alsoexported
+0
+
-- cgit v1.2.3