aboutsummaryrefslogtreecommitdiff
path: root/help/shiftafter.md
diff options
context:
space:
mode:
Diffstat (limited to 'help/shiftafter.md')
-rw-r--r--help/shiftafter.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/help/shiftafter.md b/help/shiftafter.md
new file mode 100644
index 00000000..08e42a89
--- /dev/null
+++ b/help/shiftafter.md
@@ -0,0 +1,27 @@
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/shiftafter.html).*
+
+# Right Pointing Double Angle Quotation (`»`)
+
+## `» 𝕩`: Shift After
+
+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
+
+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
+
+