aboutsummaryrefslogtreecommitdiff
path: root/help/˜self swap.md
blob: dcef51303877f6f60229540585639a13f8f83868 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/˜self swap.html).*

# Small Tilde (`˜`)

`𝔽˜ 𝕩`: Self

Supplies `𝕩` as a left argument to `𝔽` (`𝕩 𝔽 𝕩`).

       1 + 1
    2
       +˜ 1
    2


`𝕨 𝔽˜ 𝕩`: Swap

Swaps the arguments of `𝔽` (`𝕩 𝔽 𝕨`).

       1 - 2
    ¯1
       1 -˜ 2
    1