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

# Right Pointing Double Angle Quotation (`»`)

## `» 𝕩`: Nudge
[→full documentation](../doc/shift.md)

Remove the last element of `𝕩`, add a cell of fill values to the start of the first axis of `𝕩`.

        » 1‿2‿3

        » 3‿3 ⥊ 9



## `𝕨 » 𝕩`: Shift After
[→full documentation](../doc/shift.md)

Remove the last `≠𝕨` (length) major cells from `𝕩`, join `𝕨` to the start of `𝕩`. Ranks must match.

        78 » 1‿2‿3

        1‿2 » 1‿2‿3

        a ← 3‿3 ⥊ 9

        1‿2‿3 » a