Idris2Doc : Idris.REPL

Idris.REPL

(source)

Reexports

importpublic Idris.REPL.Common

Definitions

execExp : RefCtxtDefs=>RefUSTUState=>RefSynSyntaxInfo=>RefMDMetadata=>RefROptsREPLOpts=>PTerm->CoreREPLResult
Visibility: export
compileExp : RefCtxtDefs=>RefUSTUState=>RefSynSyntaxInfo=>RefMDMetadata=>RefROptsREPLOpts=>PTerm->String->CoreREPLResult
Visibility: export
loadMainFile : RefCtxtDefs=>RefUSTUState=>RefSynSyntaxInfo=>RefMDMetadata=>RefROptsREPLOpts=>String->CoreREPLResult
Visibility: export
process : RefCtxtDefs=>RefUSTUState=>RefSynSyntaxInfo=>RefMDMetadata=>RefROptsREPLOpts=>REPLCmd->CoreREPLResult
  Process a single `REPLCmd`

Returns `REPLResult` for display by the higher level shell which
is invoking this interactive command processing.

Visibility: export
parseRepl : String->EitherError (MaybeREPLCmd)
Visibility: export
interpret : RefCtxtDefs=>RefUSTUState=>RefSynSyntaxInfo=>RefMDMetadata=>RefROptsREPLOpts=>String->CoreREPLResult
Visibility: export
replCmd : RefCtxtDefs=>RefUSTUState=>RefSynSyntaxInfo=>RefMDMetadata=>RefROptsREPLOpts=>String->Core ()
Visibility: export
repl : RefCtxtDefs=>RefUSTUState=>RefSynSyntaxInfo=>RefMDMetadata=>RefROptsREPLOpts=>Core ()
Visibility: export
handleMissing' : MissedResult->String
Visibility: export
handleMissing : MissedResult->DocIdrisAnn
Visibility: export
handleResult : RefCtxtDefs=>RefUSTUState=>RefSynSyntaxInfo=>RefMDMetadata=>RefROptsREPLOpts=>REPLResult->Core ()
Visibility: export
displayResult : RefCtxtDefs=>RefSynSyntaxInfo=>RefROptsREPLOpts=>REPLResult->Core ()
Visibility: export
displayHelp : String
Visibility: export
displayStartupErrors : RefROptsREPLOpts=>REPLResult->Core ()
  Display errors that may occur when starting the REPL.
Does not force the REPL to exit, just prints the error(s).

NOTE: functionally the only reason to consider this function specialized
to "startup" is that it will provide suggestions to the user under the
assumption that the user has just entered the REPL via CLI arguments that
they may have used incorrectly.

Visibility: export