Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data AtomicStatus
- atomic :: MonadDeepError e DecodeError m => NvimE e m => [RpcCall] -> m [Object]
- atomicAs :: MonadDeepError e DecodeError m => MsgpackDecode a => NvimE e m => [RpcCall] -> m [a]
Documentation
data AtomicStatus Source #
Instances
Eq AtomicStatus Source # | |
Defined in Ribosome.Api.Atomic (==) :: AtomicStatus -> AtomicStatus -> Bool # (/=) :: AtomicStatus -> AtomicStatus -> Bool # | |
Show AtomicStatus Source # | |
Defined in Ribosome.Api.Atomic showsPrec :: Int -> AtomicStatus -> ShowS # show :: AtomicStatus -> String # showList :: [AtomicStatus] -> ShowS # | |
MsgpackDecode AtomicStatus Source # | |
Defined in Ribosome.Api.Atomic fromMsgpack :: Object -> Either Err AtomicStatus Source # missingKey :: String -> Object -> Either Err AtomicStatus Source # |
atomic :: MonadDeepError e DecodeError m => NvimE e m => [RpcCall] -> m [Object] Source #
Bundle a list of RpcCall
s into a single call to nvim_call_atomic.
The result is checked for an error message, and if it is present, the call will fail.
atomicAs :: MonadDeepError e DecodeError m => MsgpackDecode a => NvimE e m => [RpcCall] -> m [a] Source #
Bundle calls into one and decode all results to the same type.