idris-1.3.4: Functional Programming Language with Dependent Types
LicenseBSD3
MaintainerThe Idris Community.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Idris.Output

Description

 
Synopsis

Documentation

emitWarning :: Message w => w -> Idris () Source #

idemodePutSExp :: SExpable a => String -> a -> Idris () Source #

iPrintError :: String -> 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

iPrintResult :: String -> Idris () Source #

iputStr :: String -> Idris () Source #

iputStrLn :: String -> Idris () Source #

iRender :: Doc a -> Idris (SimpleDoc a) Source #

iRenderError :: Doc OutputAnnotation -> Idris () Source #

Show an error with semantic highlighting

pshow :: IState -> Err -> String Source #

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

class Message a where Source #

Methods

messageExtent :: a -> FC Source #

messageText :: a -> OutputDoc Source #

messageSource :: a -> Maybe String Source #

Instances

Instances details
Message ParseError Source # 
Instance details

Defined in Idris.Parser.Stack