registry-hedgehog-0.8.0.0: utilities to work with Hedgehog generators and `registry`
Safe HaskellSafe-Inferred
LanguageGHC2021

Data.Registry.Internal.Hedgehog

Synopsis

Documentation

data Chooser Source #

A "chooser" strategy The type can be used to debug specializations

Constructors

Chooser 

Fields

Instances

Instances details
Show Chooser Source # 
Instance details

Defined in Data.Registry.Internal.Hedgehog

chooseOne :: Gen Chooser -> [Gen a] -> Gen a Source #

Given a choosing strategy pick a generator This is possibly a stateful operation

choiceChooser :: Chooser Source #

Chooser for randomly selecting a generator

liftGen :: Monad m => Gen a -> GenT m a Source #

Lift a pure generator into another monad like IO

sampleIO :: GenT IO a -> IO a Source #

Sample Gen values