aboutsummaryrefslogtreecommitdiff
path: root/help/beginarray.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-23 16:53:49 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-06-23 16:54:14 -0400
commit1c18950453d3b4281c921fdb79f80fe4bec6ec3e (patch)
tree4bfded33525090e6f800ac0eaf16f580c4833d20 /help/beginarray.md
parent72bf97658b8dd6f167908a8452116c86a950ff4b (diff)
Add [] to keybar and help
Diffstat (limited to 'help/beginarray.md')
-rw-r--r--help/beginarray.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/help/beginarray.md b/help/beginarray.md
new file mode 100644
index 00000000..a8e64c33
--- /dev/null
+++ b/help/beginarray.md
@@ -0,0 +1,14 @@
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/beginarray.html).*
+
+# Left Square Bracket (`[`)
+
+## `[ ...`: Begin array
+[→full documentation](../doc/arrayrepr.md#high-rank-arrays)
+
+Starts a high-rank array. Entries must be separated by `,` or `⋄`. These must have the same shape. They become major cells of the result.
+
+Must end with a corresponding `]`.
+
+ ["abc", "def"]
+
+ [↕4, ↕5]