Safe Haskell | Safe |
---|
AbsChi
Documentation
newtype Constructor #
Constructors
Constructor String |
Instances
Eq Constructor # | |
Defined in AbsChi | |
Ord Constructor # | |
Defined in AbsChi Methods compare ∷ Constructor → Constructor → Ordering (<) ∷ Constructor → Constructor → Bool (<=) ∷ Constructor → Constructor → Bool (>) ∷ Constructor → Constructor → Bool (>=) ∷ Constructor → Constructor → Bool max ∷ Constructor → Constructor → Constructor min ∷ Constructor → Constructor → Constructor | |
Read Constructor # | |
Defined in AbsChi Methods readsPrec ∷ Int → ReadS Constructor readList ∷ ReadS [Constructor] readPrec ∷ ReadPrec Constructor readListPrec ∷ ReadPrec [Constructor] | |
Show Constructor # | |
Defined in AbsChi Methods showsPrec ∷ Int → Constructor → ShowS show ∷ Constructor → String showList ∷ [Constructor] → ShowS | |
Generic Constructor | |
Defined in Chi Associated Types type Rep Constructor ∷ Type → Type | |
Hashable Constructor | |
Defined in Chi | |
Arbitrary Constructor | A QuickCheck generator for (a small number of) constructors. |
Defined in Chi | |
type Rep Constructor | |
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))) |
Constructors
Variable String |
Constructors
Apply Exp Exp | |
Lambda Variable Exp | |
Case Exp [Br] | |
Rec Variable Exp | |
Var Variable | |
Const Constructor [Exp] |
Instances
Eq Exp # | |
Ord Exp # | |
Read Exp # | |
Show Exp # | |
Generic Exp | |
Arbitrary Exp | A QuickCheck generator for terms. |
type Rep Exp | |
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]))))) |
Constructors
Branch Constructor [Variable] Exp |
Instances
Eq Br # | |
Ord Br # | |
Read Br # | |
Show Br # | |
Generic Br | |
Arbitrary Br | A QuickCheck generator for branches. |
type Rep Br | |
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)))) |