ivory-quickcheck-0.1.0.0: QuickCheck driver for Ivory.

Safe HaskellNone

Ivory.QuickCheck.Monad

Description

Monad for generating random C inputs for Ivory programs.

Synopsis

Documentation

get :: IvoryGen StdGenSource

Get the current random number, split it, use one and put back the other.

runIO :: IvoryGen a -> IO aSource

Generate a fresh random value, run the monad with it, and return the result.