| 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 |
Clash.Hedgehog.Sized.Unsigned
Description
Random generation of Unsigned numbers.
Documentation
data SomeUnsigned atLeast where Source #
Constructors
| SomeUnsigned :: SNat n -> Unsigned (atLeast + n) -> SomeUnsigned atLeast |
Instances
| KnownNat atLeast => Show (SomeUnsigned atLeast) Source # | |
Defined in Clash.Hedgehog.Sized.Unsigned Methods showsPrec :: Int -> SomeUnsigned atLeast -> ShowS # show :: SomeUnsigned atLeast -> String # showList :: [SomeUnsigned atLeast] -> ShowS # | |
genSomeUnsigned :: (MonadGen m, KnownNat atLeast) => Range Natural -> m (SomeUnsigned atLeast) Source #