aboutsummaryrefslogtreecommitdiff
path: root/help/beginblock.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/beginblock.md
parent97e5db7fa0bf2389589a99ccd26cf84c1e0ced73 (diff)
complete REPL help for symbols
Diffstat (limited to 'help/beginblock.md')
-rw-r--r--help/beginblock.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/help/beginblock.md b/help/beginblock.md
new file mode 100644
index 00000000..df6d58be
--- /dev/null
+++ b/help/beginblock.md
@@ -0,0 +1,25 @@
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/beginblock.html).*
+
+# Left Curly Bracket (`{`)
+
+## `{ ...`: Begin Block
+
+Starts a block, which can be one of:
+
+- Function
+- 1-Modifier
+- 2-Modifier
+- Namespace
+- Immediate Block
+
+Must end with a corresponding `}`.
+
+ {𝕨 + 𝕩} # Function
+
+ {𝕨‿𝔽‿𝕩} # 1-modifier
+
+ {𝕨‿𝔽‿𝔾‿𝕩} # 2-modifier
+
+ {a ⇐ 5} # Namespace
+
+ {5+4+6} # Immediate block \ No newline at end of file