Kaya 0.5.3 reference for Array::concat

List of functions and data types in Array

Void concat(var [a] xs, [a] ys)

Arguments

Usage

Append the elements of the second array onto the first array.

xs = [1,2,3];
ys = [4,5];
concat(xs,ys);
// xs = [1,2,3,4,5]
// ys = [4,5]
kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya