1Dict(3kaya)                  Kaya module reference                 Dict(3kaya)
2
3
4

NAME

6       Dict - Dictionaries
7

DESCRIPTION

9       Dictionaries  to  map  keys  of one type to values of another type. The
10       Dict.Dict (3kaya) type is  generally  most  useful,  but  Dict.TinyDict
11       (3kaya)  can  be  used  when  the  number  of keys is very small (10 or
12       fewer). The Set(3kaya) module may also be useful, and  its  Set.HashSet
13       (3kaya)  replaces  the  ExistDict  in this module in previous Kaya ver‐
14       sions. Looking up and adding values to a dictionary will usually take a
15       constant  amount  of time regardless of the size of the dictionary, and
16       so these are often more efficient than usings lists.
17

DATA TYPES

19       Dict.Dict (3kaya)
20       Dict.TinyDict (3kaya)

FUNCTIONS

22       Dict.add (3kaya)
23       Dict.add_1 (3kaya)
24       Dict.delete (3kaya)
25       Dict.delete_1 (3kaya)
26       Dict.dict (3kaya)
27       Dict.empty (3kaya)
28       Dict.empty_1 (3kaya)
29       Dict.entries (3kaya)
30       Dict.entries_1 (3kaya)
31       Dict.exists (3kaya)
32       Dict.exists_1 (3kaya)
33       Dict.keys (3kaya)
34       Dict.keys_1 (3kaya)
35       Dict.lookup (3kaya)
36       Dict.lookup_1 (3kaya)
37       Dict.new (3kaya)
38       Dict.newTiny (3kaya)
39       Dict.numBuckets (3kaya)
40       Dict.vals (3kaya)
41       Dict.vals_1 (3kaya)

AUTHORS

43       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
44       (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

46       The  Kaya  standard  library  is free software; you can redistribute it
47       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
48       License  (version  2.1  or  any later version) as published by the Free
49       Software Foundation.
50
51
52
53Kaya                             December 2010                     Dict(3kaya)
Impressum