xrs-0.1.0.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Lang.ClassificationInstances

Documentation

unzipProof :: Proof ((h1, h2), j) -> (Proof (h1, j), Proof (h2, j)) #

newtype IsArith #

Constructors

IsArith Bool 

Instances

Instances details
Show IsArith # 
Instance details

Defined in Lang.ClassificationInstances

Score IsArith # 
Instance details

Defined in Lang.ClassificationInstances

Classification IsArith EvalJ () # 
Instance details

Defined in Lang.ClassificationInstances

Methods

classify :: () -> EvalJ -> [Proof (IsArith, EvalJ)] -> IsArith #

newtype IsLiteral #

Constructors

IsLiteral Bool 

Instances

Instances details
Show IsLiteral # 
Instance details

Defined in Lang.ClassificationInstances

Score IsLiteral # 
Instance details

Defined in Lang.ClassificationInstances

Classification IsLiteral EvalJ () # 
Instance details

Defined in Lang.ClassificationInstances

Methods

classify :: () -> EvalJ -> [Proof (IsLiteral, EvalJ)] -> IsLiteral #

newtype IsBaseCase #

Constructors

BHC Bool 

Instances

Instances details
Show IsBaseCase # 
Instance details

Defined in Lang.ClassificationInstances

Score IsBaseCase # 
Instance details

Defined in Lang.ClassificationInstances

Classification IsBaseCase EvalJ () # 
Instance details

Defined in Lang.ClassificationInstances

Methods

classify :: () -> EvalJ -> [Proof (IsBaseCase, EvalJ)] -> IsBaseCase #

Strategy TestClassification EvalJ ((), IsRelevantRecCallCTX) # 
Instance details

Defined in Lang.ClassificationInstances

newtype IsBinOp #

Constructors

IsBinOp Bool 

Instances

Instances details
Show IsBinOp # 
Instance details

Defined in Lang.ClassificationInstances

Score IsBinOp # 
Instance details

Defined in Lang.ClassificationInstances

Classification IsBinOp EvalJ () # 
Instance details

Defined in Lang.ClassificationInstances

Methods

classify :: () -> EvalJ -> [Proof (IsBinOp, EvalJ)] -> IsBinOp #

newtype IsIfExpr #

Constructors

IsIfExpr Bool 

Instances

Instances details
Show IsIfExpr # 
Instance details

Defined in Lang.ClassificationInstances

Score IsIfExpr # 
Instance details

Defined in Lang.ClassificationInstances

Classification IsIfExpr EvalJ () # 
Instance details

Defined in Lang.ClassificationInstances

Methods

classify :: () -> EvalJ -> [Proof (IsIfExpr, EvalJ)] -> IsIfExpr #

newtype IsClosure #

Constructors

IsClosure Bool 

Instances

Instances details
Show IsClosure # 
Instance details

Defined in Lang.ClassificationInstances

Score IsClosure # 
Instance details

Defined in Lang.ClassificationInstances

Context IsClosure EvalJ # 
Instance details

Defined in Lang.ClassificationInstances

Classification IsClosure EvalJ () # 
Instance details

Defined in Lang.ClassificationInstances

Methods

classify :: () -> EvalJ -> [Proof (IsClosure, EvalJ)] -> IsClosure #

newtype CanonicalPostProcess j #

Constructors

CanonicalPostProcess j 

Instances

Instances details
Show j => PostProcessing (CanonicalPostProcess j) # 
Instance details

Defined in Lang.ClassificationInstances

thd :: (a, b, c) -> c #

fth :: (a, b, c, d) -> d #

Orphan instances

Context () j # 
Instance details

Methods

rootCtx :: Proxy j -> () #

childContexts :: () -> Proof j -> [()] #

(Context a j, Context b j) => Context (a, b) j # 
Instance details

Methods

rootCtx :: Proxy j -> (a, b) #

childContexts :: (a, b) -> Proof j -> [(a, b)] #

(Classification h1 j c1, Classification h2 j c2) => Classification (h1, h2) j (c1, c2) # 
Instance details

Methods

classify :: (c1, c2) -> j -> [Proof ((h1, h2), j)] -> (h1, h2) #

(Context (a, b) j, Context c j) => Context (a, b, c) j # 
Instance details

Methods

rootCtx :: Proxy j -> (a, b, c) #

childContexts :: (a, b, c) -> Proof j -> [(a, b, c)] #

(Context (a, b, c) j, Context d j) => Context (a, b, c, d) j # 
Instance details

Methods

rootCtx :: Proxy j -> (a, b, c, d) #

childContexts :: (a, b, c, d) -> Proof j -> [(a, b, c, d)] #

(Context (a, b, c, d) j, Context e j) => Context (a, b, c, d, e) j # 
Instance details

Methods

rootCtx :: Proxy j -> (a, b, c, d, e) #

childContexts :: (a, b, c, d, e) -> Proof j -> [(a, b, c, d, e)] #

(Context (a, b, c, d, e) j, Context f j) => Context (a, b, c, d, e, f) j # 
Instance details

Methods

rootCtx :: Proxy j -> (a, b, c, d, e, f) #

childContexts :: (a, b, c, d, e, f) -> Proof j -> [(a, b, c, d, e, f)] #

(Context (a, b, c, d, e, f) j, Context g j) => Context (a, b, c, d, e, f, g) j # 
Instance details

Methods

rootCtx :: Proxy j -> (a, b, c, d, e, f, g) #

childContexts :: (a, b, c, d, e, f, g) -> Proof j -> [(a, b, c, d, e, f, g)] #

(Context (a, b, c, d, e, f, g) j, Context h j) => Context (a, b, c, d, e, f, g, h) j # 
Instance details

Methods

rootCtx :: Proxy j -> (a, b, c, d, e, f, g, h) #

childContexts :: (a, b, c, d, e, f, g, h) -> Proof j -> [(a, b, c, d, e, f, g, h)] #

(Context (a, b, c, d, e, f, g, h) j, Context i j) => Context (a, b, c, d, e, f, g, h, i) j # 
Instance details

Methods

rootCtx :: Proxy j -> (a, b, c, d, e, f, g, h, i) #

childContexts :: (a, b, c, d, e, f, g, h, i) -> Proof j -> [(a, b, c, d, e, f, g, h, i)] #

(Context (a, b, c, d, e, f, g, h, i) j, Context j' j) => Context (a, b, c, d, e, f, g, h, i, j') j # 
Instance details

Methods

rootCtx :: Proxy j -> (a, b, c, d, e, f, g, h, i, j') #

childContexts :: (a, b, c, d, e, f, g, h, i, j') -> Proof j -> [(a, b, c, d, e, f, g, h, i, j')] #

(Context (a, b, c, d, e, f, g, h, i, j') j, Context k j) => Context (a, b, c, d, e, f, g, h, i, j', k) j # 
Instance details

Methods

rootCtx :: Proxy j -> (a, b, c, d, e, f, g, h, i, j', k) #

childContexts :: (a, b, c, d, e, f, g, h, i, j', k) -> Proof j -> [(a, b, c, d, e, f, g, h, i, j', k)] #

(Context (a, b, c, d, e, f, g, h, i, j', k) j, Context l j) => Context (a, b, c, d, e, f, g, h, i, j', k, l) j # 
Instance details

Methods

rootCtx :: Proxy j -> (a, b, c, d, e, f, g, h, i, j', k, l) #

childContexts :: (a, b, c, d, e, f, g, h, i, j', k, l) -> Proof j -> [(a, b, c, d, e, f, g, h, i, j', k, l)] #