| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
Agda.Compiler.ToTreeless
Synopsis
- toTreeless :: EvaluationStrategy -> QName -> TCM (Maybe TTerm)
 - toTreelessWith :: BuildPipeline -> CCConfig -> QName -> TCM (Maybe TTerm)
 - closedTermToTreeless :: CCConfig -> Term -> TCM TTerm
 - data Pipeline
 - data CompilerPass = CompilerPass {}
 - compilerPass :: String -> Int -> String -> (EvaluationStrategy -> TTerm -> TCM TTerm) -> Pipeline
 - compilerPipeline :: BuildPipeline
 - type CCConfig = (EvaluationStrategy, CCSubst)
 - data CCSubst
 
Documentation
toTreeless :: EvaluationStrategy -> QName -> TCM (Maybe TTerm) Source #
toTreelessWith :: BuildPipeline -> CCConfig -> QName -> TCM (Maybe TTerm) Source #
Converts compiled clauses to treeless syntax.
Note: Do not use any of the concrete names in the returned term for identification purposes! If you wish to do so, first apply the Agda.Compiler.Treeless.NormalizeNames transformation.
Constructors
| FixedPoint Int Pipeline | |
| Sequential [Pipeline] | |
| SinglePass CompilerPass | 
data CompilerPass Source #
Constructors
| CompilerPass | |
compilerPass :: String -> Int -> String -> (EvaluationStrategy -> TTerm -> TCM TTerm) -> Pipeline Source #
compilerPipeline :: BuildPipeline Source #
type CCConfig = (EvaluationStrategy, CCSubst) Source #