aboutsummaryrefslogtreecommitdiff
path: root/help/define.md
diff options
context:
space:
mode:
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