Copyright | License : BSD3 |
---|---|
Maintainer | The Idris Community. |
Safe Haskell | None |
Language | Haskell98 |
- pshow :: IState -> Err -> String
- iWarn :: FC -> Doc OutputAnnotation -> Idris ()
- iRender :: Doc a -> Idris (SimpleDoc a)
- hWriteDoc :: Handle -> IState -> SimpleDoc OutputAnnotation -> Idris ()
- consoleDisplayAnnotated :: Handle -> Doc OutputAnnotation -> Idris ()
- iPrintTermWithType :: Doc OutputAnnotation -> Doc OutputAnnotation -> Idris ()
- iPrintFunTypes :: [(Name, Bool)] -> Name -> [(Name, Doc OutputAnnotation)] -> Idris ()
- iRenderOutput :: Doc OutputAnnotation -> Idris ()
- iRenderResult :: Doc OutputAnnotation -> Idris ()
- ideModeReturnWithStatus :: String -> Integer -> Handle -> Doc OutputAnnotation -> Idris ()
- ideModeReturnAnnotated :: Integer -> Handle -> Doc OutputAnnotation -> Idris ()
- iRenderError :: Doc OutputAnnotation -> Idris ()
- iPrintWithStatus :: String -> String -> Idris ()
- iPrintResult :: String -> Idris ()
- iPrintError :: String -> Idris ()
- iputStrLn :: String -> Idris ()
- idemodePutSExp :: SExpable a => String -> a -> Idris ()
- iputGoal :: SimpleDoc OutputAnnotation -> Idris ()
- warnTotality :: Idris ()
- printUndefinedNames :: [Name] -> Doc OutputAnnotation
- prettyDocumentedIst :: IState -> (Name, PTerm, Maybe (Docstring DocTerm)) -> Doc OutputAnnotation
- sendParserHighlighting :: Idris ()
- sendHighlighting :: [(FC, OutputAnnotation)] -> Idris ()
- writeHighlights :: FilePath -> Idris ()
- clearHighlights :: Idris ()
- renderExternal :: OutputFmt -> Int -> Doc OutputAnnotation -> Idris String
Documentation
consoleDisplayAnnotated :: Handle -> Doc OutputAnnotation -> Idris () Source #
Write a pretty-printed term to the console with semantic coloring
iPrintTermWithType :: Doc OutputAnnotation -> Doc OutputAnnotation -> Idris () Source #
iPrintFunTypes :: [(Name, Bool)] -> Name -> [(Name, Doc OutputAnnotation)] -> Idris () Source #
Pretty-print a collection of overloadings to REPL or IDEMode - corresponds to :t name
iRenderOutput :: Doc OutputAnnotation -> Idris () Source #
iRenderResult :: Doc OutputAnnotation -> Idris () Source #
ideModeReturnWithStatus :: String -> Integer -> Handle -> Doc OutputAnnotation -> Idris () Source #
ideModeReturnAnnotated :: Integer -> Handle -> Doc OutputAnnotation -> Idris () Source #
Write pretty-printed output to IDEMode with semantic annotations
iRenderError :: Doc OutputAnnotation -> Idris () Source #
Show an error with semantic highlighting
iPrintResult :: String -> Idris () Source #
iPrintError :: String -> Idris () Source #
warnTotality :: Idris () Source #
Warn about totality problems without failing to compile
printUndefinedNames :: [Name] -> Doc OutputAnnotation Source #
prettyDocumentedIst :: IState -> (Name, PTerm, Maybe (Docstring DocTerm)) -> Doc OutputAnnotation Source #
sendParserHighlighting :: Idris () Source #
sendHighlighting :: [(FC, OutputAnnotation)] -> Idris () Source #
writeHighlights :: FilePath -> Idris () Source #
Write the highlighting information to a file, for use in external tools or in editors that don't support the IDE protocol
clearHighlights :: Idris () Source #
renderExternal :: OutputFmt -> Int -> Doc OutputAnnotation -> Idris String Source #
Orphan instances
MonadException m => MonadException (ExceptT Err m) Source # | |