1Prelude.traverse(3kaya) Kaya module reference Prelude.traverse(3kaya)
2
3
4
6 Prelude::traverse - Iteration over linked lists
7
9 Void traverse( Bool(a, Int) block, List<a> list )
10
12 block The block of code to execute for each list element.
13
14 list The list to traverse
15
17 Used by for loops to traverse Prelude.List (3kaya) data structure. It
18 is unlikely that you will need to call this function directly.
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
30
31
32Kaya December 2010 Prelude.traverse(3kaya)