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 Signed numbers.
Documentation
data SomeSigned atLeast where Source #
SomeSigned :: SNat n -> Signed (atLeast + n) -> SomeSigned atLeast |
Instances
KnownNat atLeast => Show (SomeSigned atLeast) Source # | |
Defined in Clash.Hedgehog.Sized.Signed showsPrec :: Int -> SomeSigned atLeast -> ShowS # show :: SomeSigned atLeast -> String # showList :: [SomeSigned atLeast] -> ShowS # |
genSomeSigned :: (MonadGen m, KnownNat atLeast) => Range Natural -> m (SomeSigned atLeast) Source #