Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
class Context ctx judge where #
Instances
class Context ctx judge => Classification c judge ctx | c -> judge ctx where #
Instances
Classification IsArith EvalJ () # | |
Classification IsBaseCase EvalJ () # | |
Defined in Lang.ClassificationInstances classify :: () -> EvalJ -> [Proof (IsBaseCase, EvalJ)] -> IsBaseCase # | |
Classification IsBinOp EvalJ () # | |
Classification IsClosure EvalJ () # | |
Classification IsConditional EvalJ IsConditionalCTX # | |
Defined in Lang.ClassificationInstances classify :: IsConditionalCTX -> EvalJ -> [Proof (IsConditional, EvalJ)] -> IsConditional # | |
Classification IsIfExpr EvalJ () # | |
Classification IsLiteral EvalJ () # | |
Classification IsRelevantRecCall EvalJ IsRelevantRecCallCTX # | |
Defined in Lang.ClassificationInstances classify :: IsRelevantRecCallCTX -> EvalJ -> [Proof (IsRelevantRecCall, EvalJ)] -> IsRelevantRecCall # | |
Classification XTagClassify EvalJ () # | |
Defined in Lang.NamedExplanation classify :: () -> EvalJ -> [Proof (XTagClassify, EvalJ)] -> XTagClassify # | |
(Classification h1 j c1, Classification h2 j c2) => Classification (h1, h2) j (c1, c2) # | |
Defined in Lang.ClassificationInstances |
Instances
Score IsArith # | |
Score IsBaseCase # | |
Defined in Lang.ClassificationInstances | |
Score IsBinOp # | |
Score IsClosure # | |
Score IsConditional # | |
Defined in Lang.ClassificationInstances | |
Score IsIfExpr # | |
Score IsLiteral # | |
Score IsRelevantRecCall # | |
Defined in Lang.ClassificationInstances |
class Classification c judge ctx => Strategy c judge ctx | c -> judge ctx where #
Instances
Strategy TestClassification EvalJ ((), IsRelevantRecCallCTX) # | |
Defined in Lang.ClassificationInstances |
annotate :: forall c judge ctx. Classification c judge ctx => Proof judge -> Proof (c, judge) #
selectByAnnotation :: (c -> Bool) -> Proof (c, judge) -> [judge] #
selectCustom' :: forall c judge ctx a. (Ord a, Classification c judge ctx) => (c -> a) -> Proof judge -> [(c, judge)] #
selectCustom :: forall c judge ctx a. (Ord a, Classification c judge ctx) => (c -> a) -> Proof judge -> [judge] #
select :: forall c judge ctx. (Classification c judge ctx, Score c) => Proof judge -> [judge] #