1Dict.add(3kaya) Kaya module reference Dict.add(3kaya)
2
3
4
6 Dict::add - Add an entry to a tiny dictionary.
7
9 Void add( TinyDict<a, b> dict, a key, b val )
10
12 dict A tiny dictionary
13
14 key The key
15
16 value The value
17
19 Add an entry key = value to the dictionary. If an entry with the same
20 key already exists it will be replaced.
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
33 Dict.TinyDict (3kaya)
34 Dict.delete_1 (3kaya)
35 Dict.empty_1 (3kaya)
36 Dict.entries_1 (3kaya)
37 Dict.exists_1 (3kaya)
38 Dict.keys_1 (3kaya)
39 Dict.lookup_1 (3kaya)
40 Dict.newTiny (3kaya)
41 Dict.vals_1 (3kaya)
42
43
44
45Kaya December 2010 Dict.add(3kaya)