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.Set

Documentation

newtype NotASet a Source #

Constructors

NotASet (Set a) 

Instances

Instances details
(Ord a, HasSpec fn a) ⇒ HasSpec fn (NotASet a) Source # 
Instance details

Defined in Constrained.Examples.Set

Associated Types

type TypeSpec fn (NotASet a) Source #

type Prerequisites fn (NotASet a) Source #

Generic (NotASet a) Source # 
Instance details

Defined in Constrained.Examples.Set

Associated Types

type Rep (NotASet a) ∷ TypeType Source #

Methods

fromNotASet a → Rep (NotASet a) x Source #

toRep (NotASet a) x → NotASet a Source #

Show a ⇒ Show (NotASet a) Source # 
Instance details

Defined in Constrained.Examples.Set

Methods

showsPrecIntNotASet a → ShowS Source #

showNotASet a → String Source #

showList ∷ [NotASet a] → ShowS Source #

Ord a ⇒ HasSimpleRep (NotASet a) Source # 
Instance details

Defined in Constrained.Examples.Set

Associated Types

type SimpleRep (NotASet a) Source #

type TheSop (NotASet a) ∷ [Type] Source #

Eq a ⇒ Eq (NotASet a) Source # 
Instance details

Defined in Constrained.Examples.Set

Methods

(==)NotASet a → NotASet a → Bool Source #

(/=)NotASet a → NotASet a → Bool Source #

Ord a ⇒ Forallable (NotASet a) a Source # 
Instance details

Defined in Constrained.Examples.Set

Methods

fromForAllSpec ∷ ∀ (fn ∷ [Type] → TypeType). (HasSpec fn (NotASet a), HasSpec fn a, BaseUniverse fn) ⇒ Specification fn a → Specification fn (NotASet a) Source #

forAllToListNotASet a → [a] Source #

type Prerequisites fn (NotASet a) Source # 
Instance details

Defined in Constrained.Examples.Set

type Prerequisites fn (NotASet a) = ()
type TypeSpec fn (NotASet a) Source # 
Instance details

Defined in Constrained.Examples.Set

type TypeSpec fn (NotASet a) = TypeSpec fn (SimpleRep (NotASet a))
type Rep (NotASet a) Source # 
Instance details

Defined in Constrained.Examples.Set

type Rep (NotASet a) = D1 ('MetaData "NotASet" "Constrained.Examples.Set" "constrained-generators-0.2.0.0-inplace" 'True) (C1 ('MetaCons "NotASet" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Set a))))
type SimpleRep (NotASet a) Source # 
Instance details

Defined in Constrained.Examples.Set

type SimpleRep (NotASet a) = [a]
type TheSop (NotASet a) Source # 
Instance details

Defined in Constrained.Examples.Set

type TheSop (NotASet a) = SOPOf (Rep (NotASet a))