aboutsummaryrefslogtreecommitdiff
path: root/help/first_pick.md
blob: deb09cc31b202702fd8ebe1896b3845ee44ff313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/first_pick.html).*

# Square Image Of Or Equal To (`⊑`)

## `⊑ 𝕩`: First

First element of `𝕩`.

        ⊑ ⟨1, 2, 3⟩

        a ← 3‿3 ⥊ ↕9

        ⊑ a



## `𝕨 ⊑ 𝕩`: Pick

Pick the element of `𝕨` at index `𝕩`.

        2 ⊑ ⟨1, 2, 3⟩

        b ← 3‿3 ⥊ ↕9

        2‿0 ⊑ b