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

# Circle Stile (`⌽`)

## `⌽ 𝕩`: Reverse

Reverse the first axis of `𝕩`.

           ⌽ 1‿2‿3

           a ← 3‿3 ⥊ ↕9

           ⌽ a



## `𝕨 ⌽ 𝕩`: Dyad

Move the first `𝕨` elements of `𝕩` to its end. Negative `𝕨` reverses the direction of rotation.

           2 ⌽ 1‿2‿3

           b ← 3‿3 ⥊ ↕9

           2 ⌽ b