aboutsummaryrefslogtreecommitdiff
path: root/help/merge_greaterthan.md
blob: 53ad43cc9dc54fc9b28b30fdc976dc6a1a8e952a (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
*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.](../doc/arithmetic.md#pervasion)

          1 > 3

          2‿3‿0 > 3‿1‿0

          'a' > 'b'