binary-orphans 0.1.5.1 → 0.1.5.2
raw patch · 3 files changed
+23/−20 lines, 3 filesdep ~aesondep ~basedep ~binaryPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: aeson, base, binary, case-insensitive, hashable, scientific, tagged, text, time, unordered-containers, vector
API changes (from Hackage documentation)
- Data.Binary.Orphans: get :: Get t
+ Data.Binary.Orphans: get :: Binary t => Get t
- Data.Binary.Orphans: put :: t -> Put
+ Data.Binary.Orphans: put :: Binary t => t -> Put
- Data.Binary.Orphans: putList :: [t] -> Put
+ Data.Binary.Orphans: putList :: Binary t => [t] -> Put
Files
- CHANGELOG.md +3/−0
- binary-orphans.cabal +18/−18
- src/Data/Binary/Orphans.hs +2/−2
CHANGELOG.md view
@@ -1,3 +1,6 @@+- 0.1.5.2+ - Fix issue with binary-0.5.*+ - 0.1.5.1 - Fix issue with binary-0.8.4.* and GHC-7.*
binary-orphans.cabal view
@@ -1,9 +1,9 @@--- This file has been generated from package.yaml by hpack version 0.14.0.+-- This file has been generated from package.yaml by hpack version 0.15.0. -- -- see: https://github.com/sol/hpack name: binary-orphans-version: 0.1.5.1+version: 0.1.5.2 synopsis: Orphan instances for binary description: `binary-orphans` defines orphan instances for types in some popular packages. category: Web@@ -31,12 +31,12 @@ ghc-options: -Wall -fno-warn-orphans build-depends: base >=4.6.0.1 && <4.10- , aeson >=0.7.0.6 && <0.11.3+ , aeson >=0.7.0.6 && <1.2 , binary >=0.5.1.1 && <0.8.5 , case-insensitive >=1.2.0.4 && <1.2.1 , hashable >=1.2.3.3 && <1.3 , scientific >=0.3.3.8 && <0.4- , tagged >=0.7.3 && <0.8.5+ , tagged >=0.7.3 && <0.8.6 , text >=1.2.0.6 && <1.3 , time >=1.4.0.1 && <1.6.1 , unordered-containers >=0.2.5.1 && <0.3@@ -45,7 +45,7 @@ , vector-binary-instances >=0.2.1.0 && <0.3 if !impl(ghc >= 8.0) build-depends:- semigroups >=0.16.2.2 && <0.18.2+ semigroups >=0.16.2.2 && <0.18.3 if !impl(ghc >= 7.10) build-depends: void >=0.7 && <0.8@@ -61,25 +61,25 @@ test ghc-options: -Wall -fno-warn-orphans build-depends:- base >=4.6.0.1 && <4.10- , aeson >=0.7.0.6 && <0.11.3- , binary >=0.5.1.1 && <0.8.5- , case-insensitive >=1.2.0.4 && <1.2.1- , hashable >=1.2.3.3 && <1.3- , scientific >=0.3.3.8 && <0.4- , tagged >=0.7.3 && <0.8.5- , text >=1.2.0.6 && <1.3- , time >=1.4.0.1 && <1.6.1- , unordered-containers >=0.2.5.1 && <0.3- , vector >=0.10.12.3 && <0.12+ base+ , aeson+ , binary+ , case-insensitive+ , hashable+ , scientific+ , tagged+ , text+ , time+ , unordered-containers+ , vector , binary-orphans- , QuickCheck >=2.7 && <2.9.2+ , QuickCheck >=2.7 && <2.9.3 , quickcheck-instances >=0.3.11 && <0.3.13 , tasty >=0.10.1.2 && <0.12 , tasty-quickcheck >=0.8.3.2 && <0.9 if !impl(ghc >= 8.0) build-depends:- semigroups >=0.16.2.2 && <0.18.2+ semigroups >=0.16.2.2 && <0.18.3 if !impl(ghc >= 7.10) build-depends: void >=0.7 && <0.8
src/Data/Binary/Orphans.hs view
@@ -33,7 +33,7 @@ module Data.Binary, ) where -import Control.Monad (liftM, liftM2, liftM3, mzero)+import Control.Monad (liftM, liftM2, liftM3) import qualified Data.Aeson as A import Data.Bits import Data.Binary@@ -266,7 +266,7 @@ #if !MIN_VERSION_binary(0,8,0) instance Binary Void.Void where put = Void.absurd- get = mzero+ get = fail "Binary.get @Void" #endif -------------------------------------------------------------------------------