Kaya 0.5.3 reference for Array::take

List of functions and data types in Array

[a] take(Int x, [a] xs)

Arguments

Usage

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).

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya