binary-orphans 1.0.5 → 1.0.5.1
raw patch · 2 files changed
+13/−13 lines, 2 filesdep −taggeddep ~OneTupledep ~QuickCheckdep ~basePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies removed: tagged
Dependency ranges changed: OneTuple, QuickCheck, base, quickcheck-instances
API changes (from Hackage documentation)
- Data.Binary.Orphans: instance Data.Binary.Class.Binary a => Data.Binary.Class.Binary (Solo a)
+ Data.Binary.Orphans: instance Data.Binary.Class.Binary a => Data.Binary.Class.Binary (GHC.Tuple.Prim.Solo a)
Files
- binary-orphans.cabal +11/−11
- test/Tests.hs +2/−2
binary-orphans.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.12 name: binary-orphans-version: 1.0.5+version: 1.0.5.1 synopsis: Compatibility package for binary; provides instances category: Data, Binary, Parsing, Compatibility description:@@ -21,9 +21,11 @@ || ==9.0.2 || ==9.2.8 || ==9.4.8- || ==9.6.5- || ==9.8.2- || ==9.10.1+ || ==9.6.6+ || ==9.8.4+ || ==9.10.2+ || ==9.12.4+ || ==9.14.1 extra-source-files: CHANGELOG.md @@ -38,8 +40,8 @@ exposed-modules: Data.Binary.Orphans other-extensions: CPP build-depends:- base >=4.12.0.0 && <4.21- , binary >=0.8.6.0 && <0.8.10+ base >=4.12.0.0 && <4.23+ , binary >=0.8.6.0 && <0.8.10 if !impl(ghc >=9.2) build-depends: OneTuple >=0.4.2 && <0.5@@ -57,12 +59,10 @@ base , binary , binary-orphans- , OneTuple >=0.3 && <0.5- , QuickCheck >=2.13.1 && <2.16- , quickcheck-instances >=0.3.28 && <0.4- , tagged >=0.8.6 && <0.9+ , QuickCheck >=2.13.1 && <2.19+ , quickcheck-instances >=0.3.28 && <0.5 , tasty >=0.10.1.2 && <1.6- , tasty-quickcheck >=0.8.3.2 && <0.11+ , tasty-quickcheck >=0.8.3.2 && <0.12 if impl(ghc >=8.0 && <9.4) build-depends: data-array-byte
test/Tests.hs view
@@ -6,7 +6,7 @@ import Data.Monoid (Sum) import Data.Proxy (Proxy (..)) import Data.Semigroup (Min (..))-import Data.Tuple.Solo (Solo (..))+-- import Data.Tuple.Solo (Solo (..)) import Numeric.Natural (Natural) import Test.QuickCheck (Property, (===)) import Test.QuickCheck.Instances ()@@ -21,7 +21,7 @@ [ testProperty "Natural" $ roundtrip (Proxy :: Proxy Natural) , testProperty "Sum Int" $ roundtrip (Proxy :: Proxy (Sum Int)) , testProperty "Min Int" $ roundtrip (Proxy :: Proxy (Min Int))- , testProperty "Solo Int" $ roundtrip (Proxy :: Proxy (Solo Int))+ -- , testProperty "Solo Int" $ roundtrip (Proxy :: Proxy (Solo Int)) -- no Arbitrary instance (always) , testProperty "ByteArray" $ roundtrip (Proxy :: Proxy ByteArray) ]