Pyli/Methods/Dict
Dicts
These are useful only for dicts:
- (dict ...): Creates a new dict. If an arg is a dict, then the keys and values are copied. If an arg is something else, then it is the key and the next arg is the value.
Keys and Values
The following three functions are guaranteed to return the order of items in the same order for the same dict.
- (items d): Returns a vector of vectors of key,value pairs.
- (keys d): Returns a vector of just the keys.
- (values d): Returns a vector of just the values.
Other
- update