regex-applicative 0.3.3 → 0.3.3.1
raw patch · 3 files changed
+28/−3 lines, 3 filesdep +criterionPVP ok
version bump matches the API change (PVP)
Dependencies added: criterion
API changes (from Hackage documentation)
Files
- CHANGES.md +6/−0
- benchmark/benchmark.hs +11/−0
- regex-applicative.cabal +11/−3
CHANGES.md view
@@ -1,6 +1,12 @@ Changes ======= +0.3.3.1+-------++Make a release to refresh the haddocks on hackage+(see <https://github.com/feuerbach/regex-applicative/issues/35>).+ 0.3.3 -----
+ benchmark/benchmark.hs view
@@ -0,0 +1,11 @@+import Data.List+import Data.Traversable+import Data.Maybe++import Criterion.Main++import Text.Regex.Applicative++regex = sequenceA (replicate 500 $ sym 'a' <|> pure 'b') <* sequenceA (replicate 500 $ sym 'a')++main = defaultMain [bench "aaaaa" $ whnf (match regex) $ replicate 800 'a']
regex-applicative.cabal view
@@ -1,5 +1,5 @@ Name: regex-applicative-Version: 0.3.3+Version: 0.3.3.1 Synopsis: Regex-based parsing with applicative interface Description: regex-applicative is a Haskell library for parsing using regular expressions.@@ -31,8 +31,7 @@ Other-modules: Text.Regex.Applicative.Interface Text.Regex.Applicative.Types Text.Regex.Applicative.Compile- GHC-Options: -O2- -Wall+ GHC-Options: -Wall -fno-warn-name-shadowing -fno-warn-missing-signatures -fno-warn-orphans@@ -55,3 +54,12 @@ tasty-smallcheck, tasty-hunit, regex-applicative++Benchmark bench-regex-applicative+ type: exitcode-stdio-1.0+ hs-source-dirs: benchmark+ main-is: benchmark.hs+ build-depends: base <5+ , criterion+ , regex-applicative+ default-language: Haskell2010