aboutsummaryrefslogtreecommitdiff
path: root/help/join_jointo.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-19 15:10:38 -0500
committerGitHub <noreply@github.com>2022-01-19 15:10:38 -0500
commitce364aeae795ca8a8e46e653b8024ac5a9ad0982 (patch)
tree7af238dbdb370a768f965066dadadd144cbd70f7 /help/join_jointo.md
parent8f0aa14fa695ff3aa3b3ed96c02fdb2ab99f272c (diff)
parentedddb9be0aa1f03c8608d3dabf7ccfea3fdde206 (diff)
Merge pull request #55 from razetime/master
Simple help pages for Primitive Symbols
Diffstat (limited to 'help/join_jointo.md')
-rw-r--r--help/join_jointo.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/help/join_jointo.md b/help/join_jointo.md
new file mode 100644
index 00000000..13419744
--- /dev/null
+++ b/help/join_jointo.md
@@ -0,0 +1,31 @@
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/join_jointo.html).*
+
+# Lazy S (`∾`)
+
+## `∾ 𝕩`: Join
+
+Join all elements of `𝕩` together.
+
+Element ranks must be compatible.
+
+ ∾ ⟨1‿2, 3, 4‿5⟩
+
+ m ← (3‿1≍⌜4‿2‿5) ⥊¨ 2‿3⥊↕6
+
+ ∾ m
+
+
+
+## `𝕨 ∾ 𝕩`: Join
+
+Join `𝕨` to `𝕩` along the first axis.
+
+ "abcd" ∾ "EFG"
+
+ a ← 3‿3 ⥊ ↕9
+
+ c ← 4‿3 ⥊ ↕12
+
+ a∾c
+
+