Safe HaskellSafe

AbsChi

Documentation

newtype Constructor #

Constructors

Constructor String 
Instances
Eq Constructor # 
Instance details

Defined in AbsChi

Methods

(==)ConstructorConstructor → Bool

(/=)ConstructorConstructor → Bool

Ord Constructor # 
Instance details

Defined in AbsChi

Methods

compareConstructorConstructor → Ordering

(<)ConstructorConstructor → Bool

(<=)ConstructorConstructor → Bool

(>)ConstructorConstructor → Bool

(>=)ConstructorConstructor → Bool

maxConstructorConstructorConstructor

minConstructorConstructorConstructor

Read Constructor # 
Instance details

Defined in AbsChi

Methods

readsPrec ∷ Int → ReadS Constructor

readList ∷ ReadS [Constructor]

readPrec ∷ ReadPrec Constructor

readListPrec ∷ ReadPrec [Constructor]

Show Constructor # 
Instance details

Defined in AbsChi

Methods

showsPrec ∷ Int → Constructor → ShowS

showConstructor → String

showList ∷ [Constructor] → ShowS

Generic Constructor 
Instance details

Defined in Chi

Associated Types

type Rep Constructor ∷ Type → Type

Methods

fromConstructor → Rep Constructor x

to ∷ Rep Constructor x → Constructor

Hashable Constructor 
Instance details

Defined in Chi

Methods

hashWithSalt ∷ Int → Constructor → Int

hashConstructor → Int

Arbitrary Constructor

A QuickCheck generator for (a small number of) constructors.

Instance details

Defined in Chi

type Rep Constructor 
Instance details

Defined in Chi

type Rep Constructor = D1 (MetaData "Constructor" "AbsChi" "main" True) (C1 (MetaCons "Constructor" PrefixI False) (S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))

newtype Variable #

Constructors

Variable String 
Instances
Eq Variable # 
Instance details

Defined in AbsChi

Methods

(==)VariableVariable → Bool

(/=)VariableVariable → Bool

Ord Variable # 
Instance details

Defined in AbsChi

Methods

compareVariableVariable → Ordering

(<)VariableVariable → Bool

(<=)VariableVariable → Bool

(>)VariableVariable → Bool

(>=)VariableVariable → Bool

maxVariableVariableVariable

minVariableVariableVariable

Read Variable # 
Instance details

Defined in AbsChi

Methods

readsPrec ∷ Int → ReadS Variable

readList ∷ ReadS [Variable]

readPrec ∷ ReadPrec Variable

readListPrec ∷ ReadPrec [Variable]

Show Variable # 
Instance details

Defined in AbsChi

Methods

showsPrec ∷ Int → Variable → ShowS

showVariable → String

showList ∷ [Variable] → ShowS

Generic Variable 
Instance details

Defined in Chi

Associated Types

type Rep Variable ∷ Type → Type

Methods

fromVariable → Rep Variable x

to ∷ Rep Variable x → Variable

Hashable Variable 
Instance details

Defined in Chi

Methods

hashWithSalt ∷ Int → Variable → Int

hashVariable → Int

Arbitrary Variable

A QuickCheck generator for (a small number of) variables.

Instance details

Defined in Chi

Methods

arbitrary ∷ Gen Variable

shrinkVariable → [Variable]

type Rep Variable 
Instance details

Defined in Chi

type Rep Variable = D1 (MetaData "Variable" "AbsChi" "main" True) (C1 (MetaCons "Variable" PrefixI False) (S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 String)))

data Exp #

Instances
Eq Exp # 
Instance details

Defined in AbsChi

Methods

(==)ExpExp → Bool

(/=)ExpExp → Bool

Ord Exp # 
Instance details

Defined in AbsChi

Methods

compareExpExp → Ordering

(<)ExpExp → Bool

(<=)ExpExp → Bool

(>)ExpExp → Bool

(>=)ExpExp → Bool

maxExpExpExp

minExpExpExp

Read Exp # 
Instance details

Defined in AbsChi

Methods

readsPrec ∷ Int → ReadS Exp

readList ∷ ReadS [Exp]

readPrec ∷ ReadPrec Exp

readListPrec ∷ ReadPrec [Exp]

Show Exp # 
Instance details

Defined in AbsChi

Methods

showsPrec ∷ Int → Exp → ShowS

showExp → String

showList ∷ [Exp] → ShowS

Generic Exp 
Instance details

Defined in Chi

Associated Types

type Rep Exp ∷ Type → Type

Methods

fromExp → Rep Exp x

to ∷ Rep Exp x → Exp

Arbitrary Exp

A QuickCheck generator for terms.

Instance details

Defined in Chi

Methods

arbitrary ∷ Gen Exp

shrinkExp → [Exp]

type Rep Exp 
Instance details

Defined in Chi

type Rep Exp = D1 (MetaData "Exp" "AbsChi" "main" False) ((C1 (MetaCons "Apply" PrefixI False) (S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Exp) :*: S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Exp)) :+: (C1 (MetaCons "Lambda" PrefixI False) (S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Variable) :*: S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Exp)) :+: C1 (MetaCons "Case" PrefixI False) (S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Exp) :*: S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Br])))) :+: (C1 (MetaCons "Rec" PrefixI False) (S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Variable) :*: S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Exp)) :+: (C1 (MetaCons "Var" PrefixI False) (S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Variable)) :+: C1 (MetaCons "Const" PrefixI False) (S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Constructor) :*: S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Exp])))))

data Br #

Constructors

Branch Constructor [Variable] Exp 
Instances
Eq Br # 
Instance details

Defined in AbsChi

Methods

(==)BrBr → Bool

(/=)BrBr → Bool

Ord Br # 
Instance details

Defined in AbsChi

Methods

compareBrBr → Ordering

(<)BrBr → Bool

(<=)BrBr → Bool

(>)BrBr → Bool

(>=)BrBr → Bool

maxBrBrBr

minBrBrBr

Read Br # 
Instance details

Defined in AbsChi

Methods

readsPrec ∷ Int → ReadS Br

readList ∷ ReadS [Br]

readPrec ∷ ReadPrec Br

readListPrec ∷ ReadPrec [Br]

Show Br # 
Instance details

Defined in AbsChi

Methods

showsPrec ∷ Int → Br → ShowS

showBr → String

showList ∷ [Br] → ShowS

Generic Br 
Instance details

Defined in Chi

Associated Types

type Rep Br ∷ Type → Type

Methods

fromBr → Rep Br x

to ∷ Rep Br x → Br

Arbitrary Br

A QuickCheck generator for branches.

Instance details

Defined in Chi

Methods

arbitrary ∷ Gen Br

shrinkBr → [Br]

type Rep Br 
Instance details

Defined in Chi

type Rep Br = D1 (MetaData "Br" "AbsChi" "main" False) (C1 (MetaCons "Branch" PrefixI False) (S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Constructor) :*: (S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Variable]) :*: S1 (MetaSel (Nothing ∷ Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Exp))))