AhoCorasick 0.0.2 → 0.0.3
raw patch · 4 files changed
+11/−8 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Text.AhoCorasick: data (Eq keySymb, Hashable keySymb) => StateMachine keySymb val
Files
- AhoCorasick.cabal +1/−1
- README.md +6/−6
- Text/AhoCorasick.hs +3/−1
- Text/AhoCorasick/Internal/Deque.hs +1/−0
AhoCorasick.cabal view
@@ -1,5 +1,5 @@ name: AhoCorasick-version: 0.0.2+version: 0.0.3 license: BSD3 license-file: LICENSE category: Text
README.md view
@@ -46,10 +46,10 @@ ``` ```-(u,[])-(s,[])-(h,[])-(e,[(3,"she"),(2,"he")])-(r,[])-(s,[(4,"hers")])+('u',[])+('s',[])+('h',[])+('e',[(3,"she"),(2,"he")])+('r',[])+('s',[(4,"hers")]) ```
Text/AhoCorasick.hs view
@@ -56,7 +56,8 @@ @ -} module Text.AhoCorasick (- makeStateMachine+ StateMachine+ , makeStateMachine , makeSimpleStateMachine , findAll , Position(..)@@ -303,3 +304,4 @@ mapM_ (\(s,v) -> addKeyVal tree s v) kv findFailures tree convertToStateMachine tree+
Text/AhoCorasick/Internal/Deque.hs view
@@ -1,3 +1,4 @@+-- Simple FIFO queue in ST monad module Text.AhoCorasick.Internal.Deque ( mkDQ , pushBack