binary-parser 0.5 → 0.5.0.1
raw patch · 2 files changed
+2/−26 lines, 2 filesdep −basedep ~bytestringdep ~transformersPVP ok
version bump matches the API change (PVP)
Dependencies removed: base
Dependency ranges changed: bytestring, transformers
API changes (from Hackage documentation)
Files
- binary-parser.cabal +1/−1
- library/BinaryParser/Prelude.hs +1/−25
binary-parser.cabal view
@@ -1,7 +1,7 @@ name: binary-parser version:- 0.5+ 0.5.0.1 synopsis: A highly-efficient but limited parser API specialised for bytestrings category:
library/BinaryParser/Prelude.hs view
@@ -1,10 +1,6 @@ module BinaryParser.Prelude ( module Exports,- LazyByteString,- ByteStringBuilder,- LazyText,- TextBuilder, mapLeft, joinMap, )@@ -29,27 +25,7 @@ ------------------------- import Data.Text as Exports (Text) --- custom---------------------------import qualified Data.ByteString.Lazy-import qualified Data.ByteString.Builder-import qualified Data.Text.Lazy-import qualified Data.Text.Lazy.Builder --type LazyByteString =- Data.ByteString.Lazy.ByteString--type ByteStringBuilder =- Data.ByteString.Builder.Builder--type LazyText =- Data.Text.Lazy.Text--type TextBuilder =- Data.Text.Lazy.Builder.Builder-- {-# INLINE mapLeft #-} mapLeft :: (a -> b) -> Either a x -> Either b x mapLeft f =@@ -57,4 +33,4 @@ joinMap :: Monad m => (a -> m b) -> m a -> m b joinMap f =- join . fmap f+ join . liftM f