Agda.Interaction.Emacs.Lisp
Description
Abstract elisp syntax.
data Lisp a Source #
Simple Emacs Lisp expressions.
Constructors
Atom.
List.
Defined in Agda.Interaction.Emacs.Lisp
Methods
pretty :: Lisp a -> Doc Source #
prettyPrec :: Int -> Lisp a -> Doc Source #
prettyList :: [Lisp a] -> Doc Source #
(==) :: 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.
'n'
putResponse :: Lisp String -> IO () Source #
Writes a response command to standard output.