1Lazy.take(3kaya) Kaya module reference Lazy.take(3kaya)
2
3
4
6 Lazy::take - Take the first n values from a lazy list
7
9 Lazy::List<a> take( Int n, Lazy::List<a> xs )
10
12 n The number of values to take
13
14 xs The list to take values from
15
17 Take the first n values from a lazy list, returning a new lazy list
18 only containing those values.
19
21 Kaya standard library by Edwin Brady, Chris Morris and others
22 (kaya@kayalang.org). For further information see http://kayalang.org/
23
25 The Kaya standard library is free software; you can redistribute it
26 and/or modify it under the terms of the GNU Lesser General Public
27 License (version 2.1 or any later version) as published by the Free
28 Software Foundation.
29
31 Lazy.List (3kaya)
32
33
34
35Kaya December 2010 Lazy.take(3kaya)