mirror of
https://github.com/antirez/aocla
synced 2024-12-27 09:58:32 +01:00
12 lines
198 B
Text
12 lines
198 B
Text
|
// List concatenation. This procedure is part of the standard
|
||
|
// library.
|
||
|
|
||
|
// [1 2 3] [4 5 6] cat => [1 2 3 4 5 6]
|
||
|
[(a b)
|
||
|
$b [$a -> (a)] foreach
|
||
|
$a
|
||
|
] 'cat def
|
||
|
|
||
|
[1 2 3] [4 5 6] cat
|
||
|
showstack
|