aboutsummaryrefslogtreecommitdiff
path: root/help/join_jointo.md
blob: 177f72e3e2017dbb59d954bfb99fe951dc303bb0 (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
28
29
*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 To

Join `𝕨` to `𝕩` along the first axis.

        "abcd" ∾ "EFG"

        a ← 3‿3 ⥊ ↕9

        c ← 4‿3 ⥊ ↕12

        a∾c