Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
unzipProof :: Proof ((h1, h2), j) -> (Proof (h1, j), Proof (h2, j)) #
isArithScore :: Fractional a => IsArith -> a #
isLiteralScore :: Fractional a => IsLiteral -> a #
newtype IsConditional #
Instances
Show IsConditional # | |
Defined in Lang.ClassificationInstances showsPrec :: Int -> IsConditional -> ShowS # show :: IsConditional -> String # showList :: [IsConditional] -> ShowS # | |
Score IsConditional # | |
Defined in Lang.ClassificationInstances | |
Classification IsConditional EvalJ IsConditionalCTX # | |
Defined in Lang.ClassificationInstances classify :: IsConditionalCTX -> EvalJ -> [Proof (IsConditional, EvalJ)] -> IsConditional # |
newtype IsConditionalCTX #
Instances
Context IsConditionalCTX EvalJ # | |
Defined in Lang.ClassificationInstances rootCtx :: Proxy EvalJ -> IsConditionalCTX # childContexts :: IsConditionalCTX -> Proof EvalJ -> [IsConditionalCTX] # | |
Classification IsConditional EvalJ IsConditionalCTX # | |
Defined in Lang.ClassificationInstances classify :: IsConditionalCTX -> EvalJ -> [Proof (IsConditional, EvalJ)] -> IsConditional # |
isConditionalScore :: Fractional a => IsConditional -> a #
newtype IsBaseCase #
Instances
Show IsBaseCase # | |
Defined in Lang.ClassificationInstances showsPrec :: Int -> IsBaseCase -> ShowS # show :: IsBaseCase -> String # showList :: [IsBaseCase] -> ShowS # | |
Score IsBaseCase # | |
Defined in Lang.ClassificationInstances | |
Classification IsBaseCase EvalJ () # | |
Defined in Lang.ClassificationInstances classify :: () -> EvalJ -> [Proof (IsBaseCase, EvalJ)] -> IsBaseCase # | |
Strategy TestClassification EvalJ ((), IsRelevantRecCallCTX) # | |
Defined in Lang.ClassificationInstances |
baseCaseScore :: IsBaseCase -> Float #
binOpScore :: IsBinOp -> Float #
ifExprScore :: IsIfExpr -> Float #
newtype IsRelevantRecCall #
Instances
Show IsRelevantRecCall # | |
Defined in Lang.ClassificationInstances showsPrec :: Int -> IsRelevantRecCall -> ShowS # show :: IsRelevantRecCall -> String # showList :: [IsRelevantRecCall] -> ShowS # | |
Score IsRelevantRecCall # | |
Defined in Lang.ClassificationInstances | |
Classification IsRelevantRecCall EvalJ IsRelevantRecCallCTX # | |
Defined in Lang.ClassificationInstances classify :: IsRelevantRecCallCTX -> EvalJ -> [Proof (IsRelevantRecCall, EvalJ)] -> IsRelevantRecCall # | |
Strategy TestClassification EvalJ ((), IsRelevantRecCallCTX) # | |
Defined in Lang.ClassificationInstances |
newtype IsRelevantRecCallCTX #
Instances
Context IsRelevantRecCallCTX EvalJ # | |
Defined in Lang.ClassificationInstances rootCtx :: Proxy EvalJ -> IsRelevantRecCallCTX # childContexts :: IsRelevantRecCallCTX -> Proof EvalJ -> [IsRelevantRecCallCTX] # | |
Classification IsRelevantRecCall EvalJ IsRelevantRecCallCTX # | |
Defined in Lang.ClassificationInstances classify :: IsRelevantRecCallCTX -> EvalJ -> [Proof (IsRelevantRecCall, EvalJ)] -> IsRelevantRecCall # | |
Strategy TestClassification EvalJ ((), IsRelevantRecCallCTX) # | |
Defined in Lang.ClassificationInstances |
closureScore :: IsClosure -> Float #
type CustomClassify = (((((((IsArith, IsLiteral), IsConditional), IsBaseCase), IsClosure), IsBinOp), IsIfExpr), IsRelevantRecCall) #
runExample :: String -> IO () #
postProcessJ :: EvalJ -> EvalJ #
class PostProcessing a where #
postProcess :: a -> String #
Instances
PostProcessing ArithmeticPostProcess # | |
Defined in Lang.ClassificationInstances | |
PostProcessing SimpleArithmeticPostProcess # | |
Defined in Lang.ClassificationInstances | |
Show j => PostProcessing (CanonicalPostProcess j) # | |
Defined in Lang.ClassificationInstances postProcess :: CanonicalPostProcess j -> String # |
newtype CanonicalPostProcess j #
Instances
Show j => PostProcessing (CanonicalPostProcess j) # | |
Defined in Lang.ClassificationInstances postProcess :: CanonicalPostProcess j -> String # |
newtype ArithmeticPostProcess #
Instances
newtype SimpleArithmeticPostProcess #
Instances
type TestClassification = (IsBaseCase, IsRelevantRecCall) #
pickTestClassficationStrategy :: Proof EvalJ -> [EvalJ] #
Orphan instances
Context () j # | |
(Context a j, Context b j) => Context (a, b) j # | |
(Classification h1 j c1, Classification h2 j c2) => Classification (h1, h2) j (c1, c2) # | |
(Context (a, b) j, Context c j) => Context (a, b, c) j # | |
(Context (a, b, c) j, Context d j) => Context (a, b, c, d) j # | |
(Context (a, b, c, d) j, Context e j) => Context (a, b, c, d, e) j # | |
(Context (a, b, c, d, e) j, Context f j) => Context (a, b, c, d, e, f) j # | |
(Context (a, b, c, d, e, f) j, Context g j) => Context (a, b, c, d, e, f, g) j # | |
(Context (a, b, c, d, e, f, g) j, Context h j) => Context (a, b, c, d, e, f, g, h) j # | |
(Context (a, b, c, d, e, f, g, h) j, Context i j) => Context (a, b, c, d, e, f, g, h, i) j # | |
(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 # | |
(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 # | |
(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 # | |