on 8e080d6 help sign in
34 lines 492 B history raw
1### `++weld`
3Concatenate
5Concatenate two `++list`s `a` and `b`.
7Accepts
8-------
10`a` and `b` are lists.
12Source
13------
15 ++ weld :: concatenate
16 ~/ %weld
17 |* {a/(list) b/(list)}
18 => .(a ^.(homo a), b ^.(homo b))
19 |- ^+ b
20 ?~ a b
21 [i.a $(a t.a)]
24Examples
25--------
27 ~zod/try=> (weld "urb" "it")
28 ~[~~u ~~r ~~b ~~i ~~t]
29 ~zod/try=> (weld (limo [1 2 ~]) (limo [3 4 ~]))
30 ~[1 2 3 4]
34***