aboutsummaryrefslogtreecommitdiff
path: root/help/separator.md
blob: a64720bf3e7a85a1d7f35c401db606c25859ff80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/separator.html).*

# Comma (`,`) and Diamond (`⋄`)

## `,` or `⋄`: Separator
[→full documentation](../doc/syntax.md#separators)

Separates statements in blocks, programs, and arrays. Characters `,` and `⋄` are interchangeable with each other and with newline.

        a ← 3 , ⊢ b ← 2

        1 ⋄ 2 , 3

        ⟨1 , 2 ⋄ 3⟩

        {1 ⋄ 2 ⋄ 3}