hermit-0.5.0.0: Haskell Equational Reasoning Model-to-Implementation Tunnel

Safe HaskellNone
LanguageHaskell2010

HERMIT.Shell.Externals

Synopsis

Documentation

data ShellCommand Source

There are five types of commands.

Constructors

KernelEffect KernelEffect

Command that modifies the state of the (scoped) kernel.

ScriptEffect ScriptEffect

Command that deals with script files.

ShellEffect ShellEffect

Command that modifies the state of the shell.

QueryFun QueryFun

Command that queries the AST with a Transform (read only).

ProofCommand ProofCommand

Command that deals with proofs.

interpShellCommand :: [Interp ShellCommand] Source

Interpret a boxed thing as one of the four possible shell command types.

showRefactorTrail :: (Eq a, Show a) => [(a, [String], a)] -> [(a, String)] -> a -> a -> [String] Source