Kaya 0.5.3 reference for Array::zip

List of functions and data types in Array

[Pair<a, b> ] zip([a] xs, [b] ys)

Arguments

Usage

Turn a pair of lists into a list of pairs. This is equivalent to using zipWith with this function:

(a,b) zipfn(a fst, b snd) {
    return (a,b);
}

Related

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