clash-lib-hedgehog 1.8.5 → 1.10.0
raw patch · 4 files changed
+10/−16 lines, 4 filesdep ~clash-libdep ~containersdep ~ghcPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: clash-lib, containers, ghc, ghc-typelits-knownnat, ghc-typelits-natnormalise, hedgehog
API changes (from Hackage documentation)
Files
- clash-lib-hedgehog.cabal +10/−6
- src/Clash/Hedgehog/Core/Literal.hs +0/−4
- src/Clash/Hedgehog/Core/Monad.hs +0/−3
- src/Clash/Hedgehog/Internal/Bias.hs +0/−3
clash-lib-hedgehog.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.2 name: clash-lib-hedgehog-version: 1.8.5+version: 1.10.0 synopsis: Hedgehog Generators for clash-lib description: Hedgehog Generators for clash-lib bug-reports: https://github.com/clash-lang/clash-compiler/issues@@ -12,6 +12,10 @@ copyright: Copyright © 2021-2025, QBayLogic B.V. category: Hardware build-type: Simple+tested-with: GHC == 9.6.7,+ GHC == 9.8.4,+ GHC == 9.10.3,+ GHC == 9.12.4 common basic-config default-language: Haskell2010@@ -49,11 +53,11 @@ Clash.Hedgehog.Unique build-depends:- containers >= 0.5.0.0 && < 0.8,+ containers >= 0.5.0.0 && < 0.9, data-binary-ieee754 >= 0.4.4 && < 0.6, fakedata >= 1.0.2 && < 1.1,- ghc-typelits-knownnat >= 0.7.2 && < 0.9,- ghc-typelits-natnormalise >= 0.7.2 && < 0.10,+ ghc-typelits-knownnat >= 0.8.3 && < 0.9,+ ghc-typelits-natnormalise >= 0.9.5 && < 0.10, hedgehog-fakedata >= 0.0.1.4 && < 0.1, mmorph >= 1.1.5 && < 1.3, mtl >= 2.1.2 && < 2.4,@@ -61,6 +65,6 @@ primitive >= 0.5.0.1 && < 1.0, text >= 1.2.2 && < 2.2, transformers >= 0.5.2.0 && < 0.7,- ghc >= 8.6.0 && < 9.11,+ ghc >= 9.6.0 && < 9.13, - clash-lib == 1.8.5,+ clash-lib == 1.10.0,
src/Clash/Hedgehog/Core/Literal.hs view
@@ -40,14 +40,12 @@ | aeqType ty wordPrimTy = genWordLiteral | aeqType ty int64PrimTy = genInt64Literal | aeqType ty word64PrimTy = genWord64Literal-#if MIN_VERSION_base(4,16,0) | aeqType ty int8PrimTy = genInt8Literal | aeqType ty int16PrimTy = genInt16Literal | aeqType ty int32PrimTy = genInt32Literal | aeqType ty word8PrimTy = genWord8Literal | aeqType ty word16PrimTy = genWord16Literal | aeqType ty word32PrimTy = genWord32Literal-#endif | aeqType ty stringPrimTy = genStringLiteral | aeqType ty floatPrimTy = genFloatLiteral | aeqType ty doublePrimTy = genDoubleLiteral@@ -90,7 +88,6 @@ genWord64Literal = Word64Literal <$> (toInteger <$> Gen.word64 Range.linearBounded) -#if MIN_VERSION_base(4,16,0) genInt8Literal :: forall m. MonadGen m => m Literal genInt8Literal = Int8Literal <$> (toInteger <$> Gen.int8 Range.linearBounded)@@ -114,7 +111,6 @@ genWord32Literal :: forall m. MonadGen m => m Literal genWord32Literal = Word32Literal <$> (toInteger <$> Gen.word32 Range.linearBounded)-#endif genStringLiteral :: forall m. MonadGen m => m Literal genStringLiteral =
src/Clash/Hedgehog/Core/Monad.hs view
@@ -30,9 +30,6 @@ import Control.Applicative (Alternative(..)) import Control.Monad.IO.Class (MonadIO)-#if __GLASGOW_HASKELL__ <= 806-import Control.Monad.Fail (MonadFail)-#endif import Control.Monad.Reader (MonadReader(..), ReaderT, runReaderT) import Control.Monad.Trans (MonadTrans) import Hedgehog (MonadGen(..))
src/Clash/Hedgehog/Internal/Bias.hs view
@@ -53,9 +53,6 @@ | aeqType ty charPrimTy = biasBy 2 -- Char#, ByteArray#, Addr# | aeqType ty byteArrayPrimTy = biasBy 2 | aeqType ty stringPrimTy = biasBy 2-#if !MIN_VERSION_base(4,16,0)- | aeqType ty voidPrimTy = biasBy 1 -- Void#-#endif | otherwise = baseBias -- Anything else is base where