ribosome-host-0.9.9.9: Neovim plugin host for Polysemy
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ribosome.Host.Class.Msgpack.Encode

Description

Encoding values to MessagePack format

Synopsis

Documentation

class MsgpackEncode a where Source #

Class of values that can be encoded to MessagePack Objects.

Minimal complete definition

Nothing

Methods

toMsgpack :: a -> Object Source #

Convert a value to MessagePack.

The default implementation uses generic derivation.

default toMsgpack :: (Generic a, GMsgpackEncode (Rep a)) => a -> Object Source #

Instances

Instances details
MsgpackEncode Int64 Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode ByteString Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode Object Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode MicroSeconds Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode MilliSeconds Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode NanoSeconds Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode Seconds Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode Buffer Source # 
Instance details

Defined in Ribosome.Host.Api.Data

MsgpackEncode Tabpage Source # 
Instance details

Defined in Ribosome.Host.Api.Data

MsgpackEncode Window Source # 
Instance details

Defined in Ribosome.Host.Api.Data

MsgpackEncode EventName Source # 
Instance details

Defined in Ribosome.Host.Data.Event

MsgpackEncode Execution Source # 
Instance details

Defined in Ribosome.Host.Data.Execution

MsgpackEncode LuaRef Source # 
Instance details

Defined in Ribosome.Host.Data.LuaRef

MsgpackEncode Request Source # 
Instance details

Defined in Ribosome.Host.Data.Request

MsgpackEncode RequestId Source # 
Instance details

Defined in Ribosome.Host.Data.Request

MsgpackEncode RpcMethod Source # 
Instance details

Defined in Ribosome.Host.Data.Request

MsgpackEncode RpcError Source # 
Instance details

Defined in Ribosome.Host.Data.RpcError

MsgpackEncode RpcMessage Source # 
Instance details

Defined in Ribosome.Host.Data.RpcMessage

MsgpackEncode AutocmdBuffer Source # 
Instance details

Defined in Ribosome.Host.Data.RpcType

MsgpackEncode AutocmdEvents Source # 
Instance details

Defined in Ribosome.Host.Data.RpcType

MsgpackEncode AutocmdGroup Source # 
Instance details

Defined in Ribosome.Host.Data.RpcType

MsgpackEncode AutocmdId Source # 
Instance details

Defined in Ribosome.Host.Data.RpcType

MsgpackEncode AutocmdPatterns Source # 
Instance details

Defined in Ribosome.Host.Data.RpcType

MsgpackEncode Text Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode String Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode Integer Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode () Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

Methods

toMsgpack :: () -> Object Source #

MsgpackEncode Bool Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode Double Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode Float Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode Int Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

Methods

toMsgpack :: Int -> Object Source #

MsgpackEncode a => MsgpackEncode (NonEmpty a) Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

MsgpackEncode a => MsgpackEncode (Seq a) Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

Methods

toMsgpack :: Seq a -> Object Source #

MsgpackEncode a => MsgpackEncode (Maybe a) Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

Methods

toMsgpack :: Maybe a -> Object Source #

MsgpackEncode a => MsgpackEncode [a] Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

Methods

toMsgpack :: [a] -> Object Source #

(MsgpackEncode k, MsgpackEncode v) => MsgpackEncode (Map k v) Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

Methods

toMsgpack :: Map k v -> Object Source #

MsgpackEncode (Path b t) Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

Methods

toMsgpack :: Path b t -> Object Source #

(MsgpackEncode a, MsgpackEncode b) => MsgpackEncode (a, b) Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

Methods

toMsgpack :: (a, b) -> Object Source #

(MsgpackEncode a, MsgpackEncode b, MsgpackEncode c) => MsgpackEncode (a, b, c) Source # 
Instance details

Defined in Ribosome.Host.Class.Msgpack.Encode

Methods

toMsgpack :: (a, b, c) -> Object Source #