Provided by: kaya_0.4.4-6ubuntu3_amd64
Array::take - Take the first x elements from an array.
[a] take( Int x, [a] xs )
x The number of elements to take xs The array of elements
Take the first x elements from an array, and return a new array, leaving the original unmodified. This is equivalent to subarray(xs,0,x)
Kaya standard library by Edwin Brady, Chris Morris and others (firstname.lastname@example.org). For further information see http://kayalang.org/
The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.