graphula-2.0.0.5: A declarative library for describing dependencies between data
Safe HaskellNone
LanguageHaskell2010

Graphula.Arbitrary

Description

Graphula tracks its own QCGen for deterministic generation with Arbitrary and Gen. generate can be used to produce arbitrary values utilizing graphula's generation.

Synopsis

Documentation

generate :: (MonadIO m, MonadGraphulaBackend m) => Gen a -> m a Source #

Run a generator

This is akin to generate, but utilizing graphula's generation. The size passed to the generator is always 30; if you want another size then you should explicitly use resize.