System.Console.Shell.ShellMonad

The Shell monad

data Sh st a

runSh

Output functions

shellPut

shellPutStr

shellPutStrLn

shellPutInfo

shellPutInfoLn

shellPutErr

shellPutErrLn

Shell state accessors

getShellSt

putShellSt

modifyShellSt

Special actions

shellSpecial

Extracting and using the shell context

type ShellContext st

extractContext

runWithContext

updateCommandResult