idris-0.9.15.1: Functional Programming Language with Dependent Types

Safe HaskellNone

Idris.Output

Synopsis

Documentation

pshow :: IState -> Err -> StringSource

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 IDESlave - corresponds to :t name

ideSlaveReturnWithStatus :: String -> Integer -> Handle -> Doc OutputAnnotation -> Idris ()Source

ideSlaveReturnAnnotated :: Integer -> Handle -> Doc OutputAnnotation -> Idris ()Source

Write pretty-printed output to IDESlave with semantic annotations

iRenderError :: Doc OutputAnnotation -> Idris ()Source

Show an error with semantic highlighting

iPrintWithStatus :: String -> String -> Idris ()Source

iPrintResult :: String -> Idris ()Source

iPrintError :: String -> Idris ()Source

iputStrLn :: String -> Idris ()Source

ideslavePutSExp :: SExpable a => String -> a -> Idris ()Source

warnTotality :: Idris ()Source

Warn about totality problems without failing to compile