clash-prelude-hedgehog-1.5.0: Hedgehog Generators for clash-prelude
Copyright(C) 2021 QBayLogic B.V.
LicenseBSD2 (see the file LICENSE)
MaintainerQBayLogic B.V. <devops@qbaylogic.com>
Safe HaskellNone
LanguageHaskell2010

Clash.Hedgehog.Sized.Signed

Description

Random generation of Signed numbers.

Documentation

genSigned :: (MonadGen m, KnownNat n) => Range (Signed n) -> m (Signed n) Source #

data SomeSigned atLeast where Source #

Constructors

SomeSigned :: SNat n -> Signed (atLeast + n) -> SomeSigned atLeast 

genSomeSigned :: (MonadGen m, KnownNat atLeast) => Range Natural -> m (SomeSigned atLeast) Source #