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 #

Methods

fromFooBarBazRep FooBarBaz x #

toRep FooBarBaz x → FooBarBaz #

Show FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet

Methods

showsPrecIntFooBarBazShowS #

showFooBarBazString #

showList ∷ [FooBarBaz] → ShowS #

HasSpec 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

Methods

(==)FooBarBazFooBarBazBool #

(/=)FooBarBazFooBarBazBool #

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 Prerequisites FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet

type TypeSpec FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet

type SimpleRep FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet

type TheSop FooBarBaz Source # 
Instance details

Defined in Constrained.Examples.CheatSheet