clash-lib-hedgehog-1.5.0: Hedgehog Generators for clash-lib

Clash.Hedgehog.Core.Literal

Description

Random type-directed generation of literals.

Synopsis

# Documentation

Arguments

 :: forall m. MonadGen m => Type The type of the literal to generate -> m Literal

Generate a Literal with the specified core type. If the type does not correspond to a known PrimTyCon (as defined in Clash.Core.TysPrim) then an error is returned.