packages feed

replace-attoparsec 1.0.0.0 → 1.0.1.0

raw patch · 3 files changed

+6/−7 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

replace-attoparsec.cabal view
@@ -1,7 +1,7 @@ name:                replace-attoparsec-version:             1.0.0.0-cabal-version:       >=1.18-synopsis:            Stream editing with Attoparsec+version:             1.0.1.0+cabal-version:       1.18+synopsis:            Stream edit, find-and-replace with Attoparsec parsers homepage:            https://github.com/jamesdbrock/replace-attoparsec bug-reports:         https://github.com/jamesdbrock/replace-attoparsec/issues license:             BSD2@@ -12,8 +12,7 @@ category:            Parsing description: -  Stream editing and find-and-replace with Attoparsec monadic parser-  combinators.+  Stream editing and find-and-replace with Attoparsec monadic parsers.  extra-doc-files:     README.md                    , CHANGELOG.md
src/Replace/Attoparsec/ByteString.hs view
@@ -173,7 +173,7 @@ -- If you want access to the matched string in the @editor@ function, -- then combine the pattern parser @sep@ -- with 'Data.Attoparsec.ByteString.match'. This will effectively change--- the type of the @editor@ function to @(s,a) -> s@.+-- the type of the @editor@ function to @(ByteString,a) -> ByteString@. -- -- This allows us to write an @editor@ function which can choose to not -- edit the match and just leave it as it is. If the @editor@ function
src/Replace/Attoparsec/Text.hs view
@@ -169,7 +169,7 @@ -- If you want access to the matched string in the @editor@ function, -- then combine the pattern parser @sep@ -- with 'Data.Attoparsec.Text.match'. This will effectively change--- the type of the @editor@ function to @(s,a) -> s@.+-- the type of the @editor@ function to @(Text,a) -> Text@. -- -- This allows us to write an @editor@ function which can choose to not -- edit the match and just leave it as it is. If the @editor@ function