| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Ribosome.Interpreter.Scratch
Description
Interpreters for Scratch
Synopsis
- interpretScratchAtomic :: Members [Rpc !! RpcError, AtomicState (Map ScratchId ScratchState), Reader PluginName, Log, Resource] r => InterpreterFor (Scratch !! RpcError) r
- interpretScratch :: Members [Rpc !! RpcError, Reader PluginName, Log, Resource, Embed IO] r => InterpreterFor (Scratch !! RpcError) r
Documentation
interpretScratchAtomic :: Members [Rpc !! RpcError, AtomicState (Map ScratchId ScratchState), Reader PluginName, Log, Resource] r => InterpreterFor (Scratch !! RpcError) r Source #
Interpret Scratch by storing the Neovim UI handles in AtomicState.
This uses Resumable, see Errors.