aboutsummaryrefslogtreecommitdiff
path: root/help/merge_greaterthan.md
blob: ee315fca86a7089dd966e56a71837e2f7973757f (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
[→full documentation](../doc/couple.md)

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
[→full documentation](../doc/arithmetic.md#comparisons)

`𝕨` and `𝕩` can both be either numbers or characters.

[Pervasive.](../doc/arithmetic.md#pervasion)

        1 > 3

        2‿3‿0 > 3‿1‿0

        'a' > 'b'