rasa-0.1.10: A modular text editor

Safe HaskellNone
LanguageHaskell2010

Rasa.Internal.Interpreters

Synopsis

Documentation

runAction :: ActionState -> Action a -> IO (a, ActionState) Source #

Runs an Action into an IO

evalAction :: ActionState -> Action a -> IO a Source #

Evals an Action into an IO

execAction :: ActionState -> Action a -> IO ActionState Source #

Execs an Action into an IO

bootstrapAction :: Action a -> IO a Source #

Spawn the channels necessary to run action and do so.

mkActionState :: Output (Action ()) -> ActionState Source #

runBufAction :: BufAction a -> Buffer -> Action (a, Buffer) Source #

This lifts up a bufAction into an Action which performs the BufAction over the referenced buffer and returns the result (if the buffer existed)