aboutsummaryrefslogtreecommitdiff
path: root/help/beginarray.md
blob: a8e64c3302f26179e5ddd8aaca25dd97c9e2897b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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]