blob: 13419744f297dbf8e2979a605f08a12f2d8cda87 (
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
30
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
|