aboutsummaryrefslogtreecommitdiff
path: root/help/first_pick.md
blob: c415b8f9c7f545717ff21ab5524f72aa20e5c193 (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
26
27
*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⟩

           a ← 3‿3 ⥊ ↕9

           2‿0 ⊑ a