Copyright | (C) 2021-2022 QBayLogic B.V. |
---|---|
License | BSD2 (see the file LICENSE) |
Maintainer | QBayLogic B.V. <devops@qbaylogic.com> |
Safe Haskell | None |
Language | Haskell2010 |
Random generation of Unsigned numbers.
Documentation
data SomeUnsigned atLeast where Source #
SomeUnsigned :: SNat n -> Unsigned (atLeast + n) -> SomeUnsigned atLeast |
Instances
KnownNat atLeast => Show (SomeUnsigned atLeast) Source # | |
Defined in Clash.Hedgehog.Sized.Unsigned |
genSomeUnsigned :: (MonadGen m, KnownNat atLeast) => Range Natural -> m (SomeUnsigned atLeast) Source #