packages feed

fastparser 0.3.2 → 0.4.0

raw patch · 3 files changed

+7/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- ByteString.Parser.Fast: anyWord8 :: Parser Char
+ ByteString.Parser.Fast: anyWord8 :: Parser Word8

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+v0.4.0++  * Major bump because of embarrassing bug in `anyWord8` type signature ...+ v0.3.2    * New functions: `dropN`, `anyWord8`, `word8`.
fastparser.cabal view
@@ -1,5 +1,5 @@ name:                fastparser-version:             0.3.2+version:             0.4.0 synopsis:            A fast, but bare bones, bytestring parser combinators library. description:         Please see README.md homepage:            https://github.com/bartavelle/fastparser#readme
src/ByteString/Parser/Fast.hs view
@@ -255,8 +255,8 @@ {-# INLINE char #-}  -- | Parses any byte.-anyWord8 :: Parser Char-anyWord8 = lift $ Parser $ \input failure success -> if BS.null input then failure ueof else success (BS8.tail input) (BS8.head input)+anyWord8 :: Parser Word8+anyWord8 = lift $ Parser $ \input failure success -> if BS.null input then failure ueof else success (BS.tail input) (BS.head input) {-# INLINE anyWord8 #-}  -- | Parses a specific byte.