Array.zip.3kaya

Langue: en

Version: March 2009 (fedora - 06/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Array::zip - Turn a pair of lists into a list of pairs.

SYNOPSIS

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

ARGUMENTS

xs The first list

xs The second list

DESCRIPTION

Turn a pair of lists into a list of pairs. This is equivalent to using Array.zipWith(3kaya) with this function:


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

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

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.

Array.zipWith(3kaya)