Copyright | (C) 2021 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 |
genSomeUnsigned :: (MonadGen m, KnownNat atLeast) => Range Natural -> m (SomeUnsigned atLeast) Source #