trie-simple: Simple Map-based Trie
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
Trie data structure TMap
to hold mapping from list of characters to
something, i.e. isomorphic to `Map [c] v`.
It is more efficient to query compared to Map
. Also, it supports extra
operation like prefix matching.
This package also contains TSet
, which is isomorphic to Set
of lists of
characters.
[Skip to Readme]
Properties
Versions | 0.4.1.1, 0.4.1.1, 0.4.2, 0.4.3 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.9 && <4.13), containers (>=0.5.7.1 && <0.6), deepseq (>=1.4.2.0 && <1.5), mtl (>=2.2.1 && <2.3) [details] |
License | BSD-3-Clause |
Copyright | Koji Miyazato |
Author | Koji Miyazato |
Maintainer | viercc@gmail.com |
Category | Data Structure |
Source repo | head: git clone https://github.com/viercc/trie-simple -b master |
Uploaded | by viercc at 2018-12-01T23:37:20Z |
Modules
[Index] [Quick Jump]
Downloads
- trie-simple-0.4.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees