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

Safe HaskellNone

Agda.Interaction.CommandLine.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 aSource

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

The interaction loop.

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

splashScreen :: StringSource

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

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

The help message