pcre-light 0.3.1 → 0.3.1.1
raw patch · 2 files changed
+6/−6 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Text.Regex.PCRE.Light.Base: Regex :: !ForeignPtr PCRE -> !ByteString -> Regex
+ Text.Regex.PCRE.Light.Base: Regex :: {-# UNPACK #-} !ForeignPtr PCRE -> {-# UNPACK #-} !ByteString -> Regex
Files
- Text/Regex/PCRE/Light/Base.hsc +2/−1
- pcre-light.cabal +4/−5
Text/Regex/PCRE/Light/Base.hsc view
@@ -113,7 +113,8 @@ -- The structure allocated by the PCRE library will be deallocated -- automatically by the Haskell storage manager. ---data Regex = Regex !(ForeignPtr PCRE) !S.ByteString+data Regex = Regex {-# UNPACK #-} !(ForeignPtr PCRE)+ {-# UNPACK #-} !S.ByteString deriving (Eq, Ord, Show) type PCRE = ()
pcre-light.cabal view
@@ -1,5 +1,5 @@ name: pcre-light-version: 0.3.1+version: 0.3.1.1 homepage: http://code.haskell.org/~dons/code/pcre-light synopsis: A small, efficient and portable regex library for Perl 5 compatible regular expressions description:@@ -14,12 +14,12 @@ category: Text license: BSD3 license-file: LICENSE-copyright: (c) 2007. Don Stewart <dons@galois.com>+copyright: (c) 2007-2010. Don Stewart <dons@galois.com> author: Don Stewart maintainer: Don Stewart <dons@galois.com> cabal-version: >= 1.2.0 build-type: Configure-tested-with: GHC ==6.8.2, GHC ==6.6.1, Hugs ==2005+tested-with: GHC ==6.8.2, GHC ==6.6.1, GHC ==6.12.1, Hugs ==2005 extra-source-files: configure, pcre-light.buildinfo.in extra-tmp-files: pcre-light.buildinfo @@ -33,10 +33,9 @@ Text.Regex.PCRE.Light.Base extensions: CPP, ForeignFunctionInterface- ghc-options: -Wall -O2 -fvia-C if flag(small_base)- build-depends: base >= 3, bytestring >= 0.9+ build-depends: base >= 3 && <= 5, bytestring >= 0.9 else build-depends: base < 3