Halipeto.Dictionary
Documentation
class Dictionary d a whereSource
Methods
Arguments
| :: d a | |
| -> ([String], a) | |
| -> d a | Add a key-value pair |
Arguments
| :: d a | |
| -> (String, a) | |
| -> d a | Add .-format |
Arguments
| :: d a | |
| -> [([String], a)] | |
| -> d a | Add a key-value list |
Arguments
| :: d a | |
| -> [(String, a)] | |
| -> d a | Add list .-format |
Arguments
| :: d a | |
| -> [[String]] | All keys |
Arguments
| :: d a | |
| -> [String] | All keys .-format |
Arguments
| :: d a | |
| -> [([String], a)] | All key-value pairs |
Arguments
| :: d a | |
| -> [(String, a)] | All pairs .-format |
Arguments
| :: d a | |
| -> [a] | All values |
Arguments
| :: d a | |
| -> [String] | |
| -> [d a] | Sub-dictionaries |
Arguments
| :: d a | |
| -> String | |
| -> [d a] | Children .-format |
Arguments
| :: d a | |
| -> ([String], d a) | |
| -> d a | Append sub-dictionary |
Arguments
| :: d a | |
| -> (String, d a) | |
| -> d a | Adopt .-format |
Arguments
| :: d a | |
| -> d a | |
| -> d a | Combine two dictionaries |
Instances
| Dictionary DictNoCase a | |
| Dictionary DictCase a |
empty :: Dictionary DictCase a => DictCase aSource
emptyNC :: Dictionary DictNoCase a => DictNoCase aSource
class OrdDictionary d String => SubDictionary d whereSource
Methods
Instances
| SubDictionary DictNoCase | |
| SubDictionary DictCase |
class (Ord a, Dictionary d a) => OrdDictionary d a whereSource
Methods
Instances
| Ord a => OrdDictionary DictNoCase a | |
| Ord a => OrdDictionary DictCase a |