idris-0.10.3: Functional Programming Language with Dependent Types

Safe HaskellNone
LanguageHaskell98

Idris.Output

Synopsis

Documentation

consoleDisplayAnnotated :: Handle -> Doc OutputAnnotation -> Idris () Source

Write a pretty-printed term to the console with semantic coloring

iPrintFunTypes :: [(Name, Bool)] -> Name -> [(Name, Doc OutputAnnotation)] -> Idris () Source

Pretty-print a collection of overloadings to REPL or IDEMode - corresponds to :t name

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

warnTotality :: Idris () Source

Warn about totality problems without failing to compile

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