weighted-regexp 0.3.0.1 → 0.3.1
raw patch · 4 files changed
+34/−2 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Text.RegExp.Internal: Alt :: (RegW w c) -> (RegW w c) -> Reg w c
+ Text.RegExp.Internal: Eps :: Reg w c
+ Text.RegExp.Internal: RegExp :: (forall w. Semiring w => RegW w c) -> RegExp c
+ Text.RegExp.Internal: RegW :: !Bool -> !w -> !w -> !Reg w c -> RegW w c
+ Text.RegExp.Internal: Rep :: (RegW w c) -> Reg w c
+ Text.RegExp.Internal: Seq :: (RegW w c) -> (RegW w c) -> Reg w c
+ Text.RegExp.Internal: Sym :: String -> (c -> w) -> Reg w c
+ Text.RegExp.Internal: acceptFull :: RegExp c -> [c] -> Bool
+ Text.RegExp.Internal: acceptPartial :: RegExp c -> [c] -> Bool
+ Text.RegExp.Internal: active :: RegW w c -> !Bool
+ Text.RegExp.Internal: alt :: RegExp c -> RegExp c -> RegExp c
+ Text.RegExp.Internal: altW :: Semiring w => RegW w c -> RegW w c -> RegW w c
+ Text.RegExp.Internal: anySym :: RegExp c
+ Text.RegExp.Internal: brep :: (Int, Int) -> RegExp c -> RegExp c
+ Text.RegExp.Internal: char :: Char -> RegExp Char
+ Text.RegExp.Internal: class Semiring w => Weight a b w
+ Text.RegExp.Internal: data Reg w c
+ Text.RegExp.Internal: data RegW w c
+ Text.RegExp.Internal: defaultSymWeight :: (a -> w) -> a -> w
+ Text.RegExp.Internal: empty :: RegW w c -> !w
+ Text.RegExp.Internal: eps :: RegExp c
+ Text.RegExp.Internal: epsW :: Semiring w => RegW w c
+ Text.RegExp.Internal: final :: Semiring w => RegW w c -> w
+ Text.RegExp.Internal: final_ :: RegW w c -> !w
+ Text.RegExp.Internal: fullMatch :: Weight a b w => RegExp a -> [b] -> w
+ Text.RegExp.Internal: matchW :: Semiring w => RegW w c -> [c] -> w
+ Text.RegExp.Internal: matchingCount :: Num a => RegExp c -> [c] -> a
+ Text.RegExp.Internal: newtype RegExp c
+ Text.RegExp.Internal: noMatch :: RegExp c
+ Text.RegExp.Internal: opt :: RegExp c -> RegExp c
+ Text.RegExp.Internal: partialMatch :: Weight a b w => RegExp a -> [b] -> w
+ Text.RegExp.Internal: psym :: String -> (c -> Bool) -> RegExp c
+ Text.RegExp.Internal: quote :: Char -> String
+ Text.RegExp.Internal: reg :: RegW w c -> !Reg w c
+ Text.RegExp.Internal: regW :: Semiring w => RegExp c -> RegW w c
+ Text.RegExp.Internal: rep :: RegExp c -> RegExp c
+ Text.RegExp.Internal: rep1 :: RegExp c -> RegExp c
+ Text.RegExp.Internal: repW :: Semiring w => RegW w c -> RegW w c
+ Text.RegExp.Internal: seqW :: Semiring w => RegW w c -> RegW w c -> RegW w c
+ Text.RegExp.Internal: seq_ :: RegExp c -> RegExp c -> RegExp c
+ Text.RegExp.Internal: shift :: Semiring w => w -> Reg w c -> c -> RegW w c
+ Text.RegExp.Internal: shiftW :: Semiring w => w -> RegW w c -> c -> RegW w c
+ Text.RegExp.Internal: sym :: (Eq c, Show c) => c -> RegExp c
+ Text.RegExp.Internal: symW :: Semiring w => String -> (c -> w) -> RegW w c
+ Text.RegExp.Internal: symWeight :: Weight a b w => (a -> w) -> b -> w
+ Text.RegExp.Internal: weighted :: Weight a b w => RegW w a -> RegW w b
Files
- CHANGES.markdown +10/−0
- dist/build/Text/RegExp/Parser.hs +1/−1
- src/Text/RegExp/Internal.hs +19/−0
- weighted-regexp.cabal +4/−1
CHANGES.markdown view
@@ -2,7 +2,17 @@ [`weighted-regexp`]: http://hackage.haskell.org/package/weighted-regexp +# 0.3.1++## Expose internal data types and matching functions++Added new module `Text.RegExp.Internal` that exposes internal data+types and matching functions. Users probably don't want to use it+unless they implement their own matching functions.+ # 0.3.0.1++## Conditional build dependencies Moved build dependencies for QuickCheck and Criterion test programs under a conditional so they are only pulled in if one actually
dist/build/Text/RegExp/Parser.hs view
@@ -299,7 +299,7 @@ {-# LINE 1 "templates/GenericTemplate.hs" #-} {-# LINE 1 "templates/GenericTemplate.hs" #-} {-# LINE 1 "<built-in>" #-}-{-# LINE 1 "<command line>" #-}+{-# LINE 1 "<command-line>" #-} {-# LINE 1 "templates/GenericTemplate.hs" #-} -- Id: GenericTemplate.hs,v 1.26 2005/01/14 14:47:22 simonmar Exp
+ src/Text/RegExp/Internal.hs view
@@ -0,0 +1,19 @@+-- |+-- Module : Text.RegExp+-- Copyright : Thomas Wilke, Frank Huch, and Sebastian Fischer+-- License : BSD3+-- Maintainer : Sebastian Fischer <mailto:sebf@informatik.uni-kiel.de>+-- Stability : experimental+-- +-- This module exports internal data types and matching functions. You+-- do not need to import it unless you want to write your own matching+-- algorithms.+-- +module Text.RegExp.Internal (++ module Text.RegExp.Data, module Text.RegExp.Matching++ ) where++import Text.RegExp.Data+import Text.RegExp.Matching
weighted-regexp.cabal view
@@ -1,5 +1,5 @@ Name: weighted-regexp-Version: 0.3.0.1+Version: 0.3.1 Cabal-Version: >= 1.6 Synopsis: Weighted Regular Expression Matcher Description:@@ -28,6 +28,7 @@ Text.RegExp.Matching.Leftmost, Text.RegExp.Matching.Longest, Text.RegExp.Matching.LeftLong,+ Text.RegExp.Internal, Data.Semiring, Data.Semiring.Properties Other-Modules: Text.RegExp.Data,@@ -60,6 +61,7 @@ Text.RegExp.Matching.LeftLong, Data.Semiring, Data.Semiring.Properties+ Text.RegExp.Internal, Text.RegExp.Data, Text.RegExp.Parser, Text.RegExp.Matching,@@ -92,6 +94,7 @@ Text.RegExp.Matching.Longest, Text.RegExp.Matching.LeftLong, Data.Semiring,+ Text.RegExp.Internal, Text.RegExp.Data, Text.RegExp.Parser, Text.RegExp.Matching,