Copyright | License : BSD3 |
---|---|
Maintainer | The Idris Community. |
Safe Haskell | None |
Language | Haskell98 |
- annName :: Name -> Doc OutputAnnotation
- bugaddr :: [Char]
- delab :: IState -> 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] -> 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