join
function
rewrite-clj.paredit/join
(join [zloc])Returns `zloc` with sequence to the left joined to sequence to the right.
Also works for strings.
If sequence types differ, uses sequence type to the left.
- `[1 2] |[3 4] => [1 2 |3 4]`
- `[1 2]| [3 4] => [1 2 |3 4]`
- `{:a 1} |(:b 2) => `{:a 1 :b 2}`
- `["Hello" | "World"] => [|"HelloWorld"]`
Examples
No examples yet. Be the first to add one!