The list-tries package
This library provides implementations of finite sets and maps for list keys using tries, both simple and of the Patricia kind. In most (or all? sorry, haven't benchmarked yet) cases, the Patricia tries will have better performance, so use them unless you have reasons not to.
The data types are parametrized over the map type they use internally to store the child nodes: this allows extending them to support different kinds of key types or increasing efficiency. Child maps are required to be instances of the Map class in Data.ListTrie.Base.Map. Some operations additionally require an OrdMap instance.
The Eq, Ord, and Enum modules contain ready structures for key types which are instances of those classes, using lists of pairs, Data.Map, and Data.IntMap respectively.
|Versions||0.0, 0.1, 0.2, 0.3, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.5, 0.5.1, 0.5.2|
|Dependencies||base (>=3 && <4.3), binary (==0.5.*), containers (>=0.2 && <0.4), dlist (>=0.4 && <0.6)|
|Maintainer||Matti Niemenmaa <firstname.lastname@example.org>|
|Category||Data, Data Structures|
|Uploaded||Mon Apr 5 22:42:06 UTC 2010 by MattiNiemenmaa|
|Downloads||1590 total (69 in last 30 days)|
|Status||Docs uploaded by user|
Build status unknown [no reports yet]
|containers03||Assume that containers has a version number of at least 0.3. If false, some functionality cannot be implemented and is changed to call 'error' instead. Defaults to True, as >= 0.3 is shipped with GHC 6.12.||Enabled|
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
For package maintainers and hackage trustees