aboutsummaryrefslogtreecommitdiff
path: root/help/«shiftbefore.md
diff options
context:
space:
mode:
Diffstat (limited to 'help/«shiftbefore.md')
-rw-r--r--help/«shiftbefore.md60
1 files changed, 31 insertions, 29 deletions
diff --git a/help/«shiftbefore.md b/help/«shiftbefore.md
index 926dcefb..ae9ec2ce 100644
--- a/help/«shiftbefore.md
+++ b/help/«shiftbefore.md
@@ -1,37 +1,39 @@
-Left Pointing Double Angle Quotation (`«`)
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/«shiftbefore.html).*
+
+# Left Pointing Double Angle Quotation (`«`)
`« 𝕩`: Shift Before
Remove the first element of `𝕩`, add a cell of fill values to the end of the first axis of `𝕩`.
-```
- 78 « 1‿2‿3
-⟨ 1 2 78 ⟩
- « 1‿2‿3
-⟨ 2 3 0 ⟩
- « 3‿3 ⥊ 9
-┌─
-╵ 9 9 9
- 9 9 9
- 0 0 0
- ┘
-```
+
+ 78 « 1‿2‿3
+ ⟨ 1 2 78 ⟩
+ « 1‿2‿3
+ ⟨ 2 3 0 ⟩
+ « 3‿3 ⥊ 9
+ ┌─
+ ╵ 9 9 9
+ 9 9 9
+ 0 0 0
+ ┘
+
`𝕨 « 𝕩`: Shift Before
Remove the first `≠𝕨` (length) major cells from `𝕩`, join `𝕨` to the end of `𝕩`. Ranks must match.
-```
- 8‿5 « 1‿2‿3
-⟨ 3 8 5 ⟩
- a ← 3‿3 ⥊ 9
-┌─
-╵ 9 9 9
- 9 9 9
- 9 9 9
- ┘
- 1‿2‿3 « a
-┌─
-╵ 9 9 9
- 9 9 9
- 1 2 3
- ┘
-``` \ No newline at end of file
+
+ 8‿5 « 1‿2‿3
+ ⟨ 3 8 5 ⟩
+ a ← 3‿3 ⥊ 9
+ ┌─
+ ╵ 9 9 9
+ 9 9 9
+ 9 9 9
+ ┘
+ 1‿2‿3 « a
+ ┌─
+ ╵ 9 9 9
+ 9 9 9
+ 1 2 3
+ ┘
+