1Dict.numBuckets(3kaya) Kaya module reference Dict.numBuckets(3kaya)
2
3
4
6 Dict::numBuckets - Get the number of buckets used in a dictionary
7
9 Int numBuckets( Dict<a, b> d )
10
12 d A Dict.Dict (3kaya)
13
15 Get the number of buckets used in a dictionary. This function is not
16 generally useful - it is implemented solely to make Dict to Dict map‐
17 pings easier to implement (for example, the ElementTree(3kaya) makes
18 use of it to apply Prelude.toLower (3kaya) to every key in a dictio‐
19 nary)
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
31
32
33Kaya December 2010 Dict.numBuckets(3kaya)