quickspec-0.9: Equational laws for free

Safe HaskellNone

Test.QuickSpec.Main

Description

The main implementation of QuickSpec.

Synopsis

Documentation

runTool :: Signature a => (Sig -> IO ()) -> a -> IO ()Source

quickSpec :: Signature a => a -> IO ()Source

Run QuickSpec on a signature.

sampleList :: StdGen -> Int -> [a] -> [a]Source

sampleTerms :: Signature a => a -> IO ()Source

Generate random terms from a signature. Useful when QuickSpec is generating too many terms and you want to know what they look like.