1Array.zip(3kaya) Kaya module reference Array.zip(3kaya)
2
3
4
6 Array::zip - Turn a pair of lists into a list of pairs.
7
9 [Pair<a, b> ] zip( [a] xs, [b] ys )
10
12 xs The first list
13
14 xs The second list
15
17 Turn a pair of lists into a list of pairs. This is equivalent to using
18 Array.zipWith (3kaya) with this function:
19
20
21 (a,b) zipfn(a fst, b snd) {
22 return (a,b);
23 }
24
26 Kaya standard library by Edwin Brady, Chris Morris and others
27 (kaya@kayalang.org). For further information see http://kayalang.org/
28
30 The Kaya standard library is free software; you can redistribute it
31 and/or modify it under the terms of the GNU Lesser General Public
32 License (version 2.1 or any later version) as published by the Free
33 Software Foundation.
34
36 Array.zipWith (3kaya)
37
38
39
40Kaya December 2010 Array.zip(3kaya)