1Dict.add(3kaya) Kaya module reference Dict.add(3kaya)
2
3
4
6 Dict::add - Add an entry to a dictionary.
7
9 Void add( Dict<a, b> dict, a key, b val )
10
12 dict A 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.Dict (3kaya)
34 Dict.delete (3kaya)
35 Dict.empty (3kaya)
36 Dict.entries (3kaya)
37 Dict.exists (3kaya)
38 Dict.keys (3kaya)
39 Dict.lookup (3kaya)
40 Dict.new (3kaya)
41 Dict.vals (3kaya)
42
43
44
45Kaya December 2010 Dict.add(3kaya)