aboutsummaryrefslogtreecommitdiff
path: root/help/⋈enlist pair.md
blob: da631346f4e99fb0915724347f2e2e8332fe38db (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
28
29
30
31
32
33
34
35
36
37
38
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/⋈enlist pair.html).*

# Bow Tie (`⋈`)

`⋈ 𝕩`: Enlist 

Put `𝕩` in a single element list. (`⟨𝕩⟩`)

      ⋈ 1
    ⟨ 1 ⟩
      ⋈ 4‿4 ⥊ 3‿67‿8‿0
    ┌─              
    · ┌─            
      ╵ 3 67 8 0    
        3 67 8 0    
        3 67 8 0    
        3 67 8 0    
                 ┘  
                   ┘


`𝕨 ⋈ 𝕩`: Pair

Put `𝕨` and `𝕩` in a two element list. (`⟨𝕨, 𝕩⟩`)

      1 ⋈ 2
    ⟨ 1 2 ⟩
      1 ⋈ "dsdasdas"
    ⟨ 1 "dsdasdas" ⟩
      (3‿3 ⥊ 3) ⋈ 67‿'a'‿"example"
    ┌─                                
    · ┌─        ⟨ 67 'a' "example" ⟩  
      ╵ 3 3 3                         
        3 3 3                         
        3 3 3                         
              ┘                       
                                     ┘