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

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

## `,` or `⋄`: Separator

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}