Agda-2.4.2.4: A dependently typed functional programming language and proof assistant

Safe HaskellNone
LanguageHaskell98

Agda.Interaction.CommandLine

Synopsis

Documentation

data ExitCode a Source

Constructors

Continue 
ContinueIn TCEnv 
Return a 

type Command a = (String, [String] -> TCM (ExitCode a)) Source

interaction :: String -> [Command a] -> (String -> TCM (ExitCode a)) -> IM a Source

interactionLoop :: TCM (Maybe Interface) -> IM () Source

The interaction loop.

withCurrentFile :: TCM a -> TCM a Source

Set envCurrentPath to optInputFile.

loadFile :: TCM () -> [String] -> TCM () Source

evalIn :: [String] -> TCM () Source

typeOf :: [String] -> TCM () Source

typeIn :: [String] -> TCM () Source

splashScreen :: String Source

The logo that prints when Agda is started in interactive mode.

help :: [Command a] -> IO () Source

The help message