aboutsummaryrefslogtreecommitdiff
path: root/help/define.md
diff options
context:
space:
mode:
authorrazetime <raghuallthetime@hotmail.com>2022-01-20 11:57:50 +0530
committerrazetime <raghuallthetime@hotmail.com>2022-01-20 11:57:50 +0530
commitf3d45a1ca914d59968531a6d5c409d80b73e53c3 (patch)
treebc89e3b80c84d854f382e03fdbb5a43e08d791b8 /help/define.md
parent97e5db7fa0bf2389589a99ccd26cf84c1e0ced73 (diff)
complete REPL help for symbols
Diffstat (limited to 'help/define.md')
-rw-r--r--help/define.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/help/define.md b/help/define.md
new file mode 100644
index 00000000..b36b5fc0
--- /dev/null
+++ b/help/define.md
@@ -0,0 +1,15 @@
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/define.html).*
+
+# Leftwards Arrow (`←`)
+
+## `n ← v`: Define
+
+Defines a new variable with name `n` and value `v`.
+
+Variable `n` must not already exist.
+
+ ⊢ a ← 1
+
+ ⊢ b ← 3‿3 ⥊ 5
+
+ C ← ↑ \ No newline at end of file