1Lazy.iterate(3kaya) Kaya module reference Lazy.iterate(3kaya)
2
3
4
6 Lazy::iterate - Iterate across a lazy list.
7
9 Void iterate( Lazy::List<a> xs, Void(a) action )
10
12 xs A lazy list
13
14 action The action to perform
15
17 Iterate across a lazy list, performing action on each element. Note
18 that if the list is infinite in size, and action never throws an Excepâ
19 tion, this function will never return.
20
22 Kaya standard library by Edwin Brady, Chris Morris and others
23 (kaya@kayalang.org). For further information see http://kayalang.org/
24
26 The Kaya standard library is free software; you can redistribute it
27 and/or modify it under the terms of the GNU Lesser General Public
28 License (version 2.1 or any later version) as published by the Free
29 Software Foundation.
30
32 Lazy.List (3kaya)
33
34
35
36Kaya December 2010 Lazy.iterate(3kaya)