rainbow 0.26.0.0 → 0.26.0.2
raw patch · 2 files changed
+6/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- rainbow.cabal +2/−2
- tests/Rainbow/QuickCheck.hs +4/−3
rainbow.cabal view
@@ -3,11 +3,11 @@ -- http://www.github.com/massysett/cartel -- -- Script name used to generate: genCabal.hs--- Generated on: 2015-04-26 13:24:27.048354 EDT+-- Generated on: 2015-04-27 19:56:14.743912 EDT -- Cartel library version: 0.14.2.6 name: rainbow-version: 0.26.0.0+version: 0.26.0.2 cabal-version: >= 1.18 license: BSD3 license-file: LICENSE
tests/Rainbow/QuickCheck.hs view
@@ -16,8 +16,9 @@ import Control.Applicative import Test.QuickCheck import Rainbow.Types+import Data.Typeable -instance Arbitrary a => Arbitrary (Color a) where+instance (Typeable a, Arbitrary a) => Arbitrary (Color a) where arbitrary = Color <$> arbitrary shrink = genericShrink @@ -60,7 +61,7 @@ . coarbitrary x6 . coarbitrary x7 -instance Arbitrary a => Arbitrary (Style a) where+instance (Arbitrary a, Typeable a) => Arbitrary (Style a) where arbitrary = Style <$> arbitrary <*> arbitrary <*> arbitrary shrink = genericShrink @@ -78,7 +79,7 @@ coarbitrary (Scheme a b) = coarbitrary a . coarbitrary b -instance Arbitrary a => Arbitrary (Chunk a) where+instance (Arbitrary a, Typeable a) => Arbitrary (Chunk a) where arbitrary = Chunk <$> arbitrary <*> arbitrary shrink = genericShrink