proto-lens 0.7.1.3 → 0.7.1.4
raw patch · 3 files changed
+5/−5 lines, 3 filesdep ~textPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: text
API changes (from Hackage documentation)
Files
- proto-lens.cabal +3/−3
- src/Data/ProtoLens/Labels.hs +1/−0
- tests/parser_test.hs +1/−2
proto-lens.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.35.2.+-- This file has been generated from package.yaml by hpack version 0.36.0. -- -- see: https://github.com/sol/hpack name: proto-lens-version: 0.7.1.3+version: 0.7.1.4 synopsis: A lens-based implementation of protocol buffers in Haskell. description: The proto-lens library provides an API for protocol buffers using modern Haskell language and library patterns. Specifically, it provides: .@@ -69,7 +69,7 @@ , primitive >=0.6 && <0.9 , profunctors >=5.2 && <6.0 , tagged ==0.8.*- , text >=1.2 && <2.1+ , text >=1.2 && <2.2 , transformers >=0.4 && <0.7 , vector >=0.11 && <0.14 default-language: Haskell2010
src/Data/ProtoLens/Labels.hs view
@@ -3,6 +3,7 @@ {-# LANGUAGE MagicHash #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE TypeOperators #-} {-# LANGUAGE UndecidableInstances #-} #if __GLASGOW_HASKELL__ >= 802 {-# LANGUAGE ScopedTypeVariables #-}
tests/parser_test.hs view
@@ -1,7 +1,6 @@ -- | Unit and property tests for our custom parsing monad. module Main (main) where -import Control.Applicative (liftA2) import qualified Data.ByteString as B import Data.Either (isLeft) @@ -74,7 +73,7 @@ testIsolate :: [TestTree] testIsolate = [ testProperty "many" $ \bs bs' ->- runParser (liftA2 (,) (isolate (length bs) $ manyTillEnd getWord8)+ runParser ((,) <$> (isolate (length bs) $ manyTillEnd getWord8) <*> (manyTillEnd getWord8)) (B.pack (bs ++ bs')) == Right (bs, bs')