Hedi-0.1.1: Line oriented editor
Source code
Contents
Index
Eval
Description
The logic of each of the available commands
Synopsis
eval
::
Ctx
m =>
CompleteCommand
->
Editor
m
()
writefail
::
Ctx
m =>
Either
String
()
->
Editor
m
()
write
::
Ctx
m =>
String
->
Editor
m
()
getname
::
Ctx
m =>
Editor
m
String
->
Editor
m
String
Documentation
eval
Source
::
Ctx
m
=>
CompleteCommand
the command to match for execution
->
Editor
m
()
monading ..
every command is run with eval. See
Command
datatype for docs
writefail
::
Ctx
m =>
Either
String
()
->
Editor
m
()
Source
throw a writerSio error to Editor
write
Source
::
Ctx
m
=>
String
filename
->
Editor
m
()
monading
dump the engine content to a file via writefileSio
getname
::
Ctx
m =>
Editor
m
String
->
Editor
m
String
Source
get the filename defaulting to some other action to produce one
Produced by
Haddock
version 2.4.2