License | BSD3 |
---|---|
Maintainer | The Idris Community. |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- annName :: Name -> Doc OutputAnnotation
- bugaddr :: [Char]
- delab :: IState -> Term -> PTerm
- delabWithEnv :: IState -> [(Name, Type)] -> Term -> PTerm
- delabDirect :: IState -> Term -> PTerm
- delab' :: IState -> Term -> Bool -> Bool -> PTerm
- delabMV :: IState -> Term -> PTerm
- delabSugared :: IState -> Term -> PTerm
- delabTy :: IState -> Name -> PTerm
- delabTy' :: IState -> [PArg] -> [(Name, Type)] -> Term -> Bool -> Bool -> Bool -> PTerm
- fancifyAnnots :: IState -> Bool -> OutputAnnotation -> OutputAnnotation
- pprintDelab :: IState -> Term -> Doc OutputAnnotation
- pprintNoDelab :: IState -> Term -> Doc OutputAnnotation
- pprintDelabTy :: IState -> Name -> Doc OutputAnnotation
- pprintErr :: IState -> Err -> Doc OutputAnnotation
- resugar :: IState -> PTerm -> PTerm
Documentation
delabDirect :: IState -> Term -> PTerm Source #
Delaborate a term directly, leaving case applications as they are. We need this for interactive case splitting, where we need access to the underlying function in a delaborated form, to generate the right patterns
fancifyAnnots :: IState -> Bool -> OutputAnnotation -> OutputAnnotation Source #
Add extra metadata to an output annotation, optionally marking metavariables.
pprintDelab :: IState -> Term -> Doc OutputAnnotation Source #
Pretty-print a core term using delaboration
pprintNoDelab :: IState -> Term -> Doc OutputAnnotation Source #
pprintDelabTy :: IState -> Name -> Doc OutputAnnotation Source #
Pretty-print the type of some name