packages feed

clash-lib-hedgehog 1.8.2 → 1.8.3

raw patch · 2 files changed

+9/−5 lines, 2 filesdep ~clash-libdep ~hedgehogPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: clash-lib, hedgehog

API changes (from Hackage documentation)

Files

clash-lib-hedgehog.cabal view
@@ -1,7 +1,7 @@ cabal-version:      2.2  name:               clash-lib-hedgehog-version:            1.8.2+version:            1.8.3 synopsis:           Hedgehog Generators for clash-lib description:        Hedgehog Generators for clash-lib bug-reports:        https://github.com/clash-lang/clash-compiler/issues@@ -9,7 +9,7 @@ license-file:       LICENSE author:             QBayLogic B.V. maintainer:         devops@qbaylogic.com-copyright:          Copyright © 2021, QBayLogic B.V.+copyright:          Copyright © 2021-2025, QBayLogic B.V. category:           Hardware build-type:         Simple @@ -30,7 +30,7 @@    build-depends:     base      >= 4.11  && < 5,-    hedgehog  >= 1.0.3 && < 1.5,+    hedgehog  >= 1.0.3 && < 1.6,  library   import: basic-config@@ -63,4 +63,4 @@     transformers              >= 0.5.2.0 && < 0.7,     ghc                       >= 8.6.0   && < 9.11, -    clash-lib                 == 1.8.2,+    clash-lib                 == 1.8.3,
src/Clash/Hedgehog/Unique.hs view
@@ -18,6 +18,10 @@   , sampleUniqMapBiased   ) where +#if MIN_VERSION_ghc(9,8,4) || (MIN_VERSION_ghc(9,6,7) && !MIN_VERSION_ghc(9,8,0))+#define UNIQUE_IS_WORD64+#endif+ import Control.Applicative (Alternative(empty)) import Data.Either (rights) import Hedgehog (MonadGen, Range)@@ -35,7 +39,7 @@  genUnique :: forall m. MonadGen m => m Unique genUnique =-#if MIN_VERSION_ghc(9,8,4)+#ifdef UNIQUE_IS_WORD64   Gen.word64 #else   Gen.int