1Array.concat(3kaya) Kaya module reference Array.concat(3kaya)
2
3
4
6 Array::concat - Concatenate two arrays.
7
9 Void concat( var [a] xs, [a] ys )
10
12 xs The first array
13
14 ys The second array
15
17 Append the elements of the second array onto the first array.
18
19
20 xs = [1,2,3];
21 ys = [4,5];
22 concat(xs,ys);
23 // xs = [1,2,3,4,5]
24 // ys = [4,5]
25
27 Kaya standard library by Edwin Brady, Chris Morris and others
28 (kaya@kayalang.org). For further information see http://kayalang.org/
29
31 The Kaya standard library is free software; you can redistribute it
32 and/or modify it under the terms of the GNU Lesser General Public
33 License (version 2.1 or any later version) as published by the Free
34 Software Foundation.
35
36
37
38Kaya December 2010 Array.concat(3kaya)