aboutsummaryrefslogtreecommitdiff
path: root/help/shiftbefore.md
diff options
context:
space:
mode:
authorrazetime <raghuallthetime@hotmail.com>2022-01-19 22:48:16 +0530
committerrazetime <raghuallthetime@hotmail.com>2022-01-19 22:48:16 +0530
commit2c50d91ec7eb8bc7890befe874a0b93729c2437e (patch)
treeeb621b86b3c8269ab2dd63bd3c628acdf3521059 /help/shiftbefore.md
parent6c111f1e71e945f66977aecc3322318aa21beacc (diff)
add h2s remove copied output, ascii filenames
Diffstat (limited to 'help/shiftbefore.md')
-rw-r--r--help/shiftbefore.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/help/shiftbefore.md b/help/shiftbefore.md
new file mode 100644
index 00000000..ca32833f
--- /dev/null
+++ b/help/shiftbefore.md
@@ -0,0 +1,27 @@
+*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‿3
+
+ « 3‿3 ⥊ 9
+
+
+
+## `𝕨 « 𝕩`: Shift Before
+
+Remove the first `≠𝕨` (length) major cells from `𝕩`, join `𝕨` to the end of `𝕩`. Ranks must match.
+
+ 8‿5 « 1‿2‿3
+
+ a ← 3‿3 ⥊ 9
+
+ 1‿2‿3 « a
+
+