1Set.traverse(3kaya) Kaya module reference Set.traverse(3kaya)
2
3
4
6 Set::traverse - Iteration over HashSets
7
9 Void traverse( Bool(a, Int) block, HashSet<a> set )
10
12 block The block of code to execute for each set element.
13
14 set The HashSet to traverse
15
17 Used by for loops to traverse Set.HashSet (3kaya) data structure. It is
18 unlikely that you will need to call this function directly.
19
20 The order in which a HashSet is traversed is undefined.
21
23 Kaya standard library by Edwin Brady, Chris Morris and others
24 (kaya@kayalang.org). For further information see http://kayalang.org/
25
27 The Kaya standard library is free software; you can redistribute it
28 and/or modify it under the terms of the GNU Lesser General Public
29 License (version 2.1 or any later version) as published by the Free
30 Software Foundation.
31
32
33
34Kaya December 2010 Set.traverse(3kaya)