packages feed

text-show-instances 3.9.9 → 3.9.10

raw patch · 3 files changed

+17/−7 lines, 3 filesdep ~QuickCheckdep ~aesondep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: QuickCheck, aeson, base, containers, ghc-boot-th, quickcheck-instances, random, template-haskell, time

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+### 3.9.10 [2024.11.05]+* Support building with `quickcheck-instances-0.3.32` or later in the test+  suite.+ ### 3.9.9 [2024.10.23] * Support building with GHC 9.12. * Drop support for GHC 8.0.
tests/Instances/Data/Vector.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP                #-} {-# LANGUAGE DeriveGeneric      #-} {-# LANGUAGE StandaloneDeriving #-} {-# OPTIONS_GHC -Wno-orphans #-}@@ -14,22 +15,27 @@ module Instances.Data.Vector () where  import           Data.Vector.Fusion.Bundle.Size (Size(..))-import           Data.Vector.Generic (fromList)-import qualified Data.Vector.Primitive as P (Vector)-import           Data.Vector.Primitive (Prim)  import           GHC.Generics (Generic)  import           Instances.Utils.GenericArbitrary (genericArbitrary) -import           Prelude ()-import           Prelude.Compat- import           Test.QuickCheck (Arbitrary(..)) import           Test.QuickCheck.Instances () +#if !MIN_VERSION_quickcheck_instances(0,3,32)+import           Data.Vector.Generic (fromList)+import qualified Data.Vector.Primitive as P (Vector)+import           Data.Vector.Primitive (Prim)++import           Prelude ()+import           Prelude.Compat+#endif++#if !MIN_VERSION_quickcheck_instances(0,3,32) instance (Arbitrary a, Prim a) => Arbitrary (P.Vector a) where     arbitrary = fromList <$> arbitrary+#endif  instance Arbitrary Size where     arbitrary = genericArbitrary
text-show-instances.cabal view
@@ -1,5 +1,5 @@ name:                text-show-instances-version:             3.9.9+version:             3.9.10 synopsis:            Additional instances for text-show description:         @text-show-instances@ is a supplemental library to @text-show@                      that provides additional @Show@ instances for data types in