| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Ribosome.Config.Setting
Documentation
settingRaw :: (MonadRibo m, Nvim m, MsgpackDecode a, MonadDeepError e RpcError m) => Setting a -> m a Source #
setting :: forall e m a. NvimE e m => MonadRibo m => MonadDeepError e SettingError m => MsgpackDecode a => Setting a -> m a Source #
data SettingOrError Source #
Constructors
| Sett SettingError | |
| Rpc RpcError |
Instances
| AsSettingOrError SettingOrError Source # | |
Defined in Ribosome.Config.Setting | |
| DeepPrisms SettingOrError RpcError Source # | |
Defined in Ribosome.Config.Setting Methods | |
| DeepPrisms SettingOrError SettingError Source # | |
Defined in Ribosome.Config.Setting Methods | |
| DeepPrisms SettingOrError SettingOrError Source # | |
Defined in Ribosome.Config.Setting Methods | |
class AsSettingOrError r where Source #
Minimal complete definition
Instances
settingMaybe :: (MonadIO m, Nvim m, MonadRibo m, MsgpackDecode a) => Setting a -> m (Maybe a) Source #
updateSetting :: (MonadRibo m, Nvim m, MonadDeepError e RpcError m, MsgpackEncode a) => Setting a -> a -> m () Source #