aboutsummaryrefslogtreecommitdiff
path: root/help/merge_greaterthan.md
blob: 23878afd899c1479d44a7863b09b132e9f443987 (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
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/merge_greaterthan.html).*

# Greater Than (`>`)
    
## `> 𝕩`: Merge  
    
Add the rank of an element of `𝕩` to the rank of `𝕩`.
    
All elements must have the same rank.
    
Returns atomic values as is.
    
    
          a ← ⟨⟨1, 2⟩, ⟨3, 4⟩⟩

          >a

          ≢a

          ≢>a

          
    
    
## `𝕨 > 𝕩`: Greater Than
    
`𝕨` and `𝕩` can both be either numbers or characters.
    
[Pervasive.](https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion)
    
          1 > 3

          2‿3‿0 > 3‿1‿0

          'a' > 'b'