Agda-2.6.2.2.20221106: A dependently typed functional programming language and proof assistant
Safe HaskellSafe-Inferred
LanguageHaskell2010

Agda.Interaction.EmacsCommand

Description

Code for instructing Emacs to do things

Synopsis

Documentation

data Lisp a Source #

Simple Emacs Lisp expressions.

Constructors

A a

Atom.

Cons (Lisp a) (Lisp a) 
L [Lisp a]

List.

Q (Lisp a) 

Instances

Instances details
Pretty a => Pretty (Lisp a) Source # 
Instance details

Defined in Agda.Interaction.EmacsCommand

Methods

pretty :: Lisp a -> Doc Source #

prettyPrec :: Int -> Lisp a -> Doc Source #

prettyList :: [Lisp a] -> Doc Source #

Eq a => Eq (Lisp a) Source # 
Instance details

Defined in Agda.Interaction.EmacsCommand

Methods

(==) :: Lisp a -> Lisp a -> Bool #

(/=) :: Lisp a -> Lisp a -> Bool #

response :: Lisp String -> String Source #

Formats a response command.

Replaces 'n' with spaces to ensure that each command is a single line.

putResponse :: Lisp String -> IO () Source #

Writes a response command to standard output.

clearRunningInfo :: Lisp String Source #

Clear the running info buffer.

clearWarning :: Lisp String Source #

Clear the warning buffer

displayRunningInfo :: String -> Lisp String Source #

Display running information about what the type-checker is up to.