constrained-generators-0.2.0.0: Framework for generating constrained random data using a subset of first order logic
Safe HaskellSafe-Inferred
LanguageHaskell2010

Constrained.Examples.CheatSheet

Synopsis

Documentation

Exception: Simplifying:

Exception: genFromPreds:

data FooBarBaz Source #

Constructors

Foo Int Int 
Bar Bool 
Baz 

Instances

Instances details
Generic FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet

Associated Types

type Rep FooBarBazTypeType Source #

Show FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet

HasSimpleRep FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet

Associated Types

type SimpleRep FooBarBaz Source #

type TheSop FooBarBaz ∷ [Type] Source #

Eq FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet

BaseUniverse fn ⇒ HasSpec fn FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet

Associated Types

type TypeSpec fn FooBarBaz Source #

type Prerequisites fn FooBarBaz Source #

type Rep FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet

type Rep FooBarBaz = D1 ('MetaData "FooBarBaz" "Constrained.Examples.CheatSheet" "constrained-generators-0.2.0.0-inplace" 'False) (C1 ('MetaCons "Foo" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)) :+: (C1 ('MetaCons "Bar" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :+: C1 ('MetaCons "Baz" 'PrefixI 'False) (U1TypeType)))
type SimpleRep FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet

type TheSop FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet

type Prerequisites fn FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet

type TypeSpec fn FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet