Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Deprecated: This module would be deleted in next minor releasePlease move its imports to ClickHaskell module
Documentation
class Deserializable chType where Source #
Nothing
deserialize :: ProtocolRevision -> Get chType Source #
default deserialize :: (Generic chType, GDeserializable (Rep chType)) => ProtocolRevision -> Get chType Source #
Instances
class GDeserializable f where Source #
gDeserialize :: ProtocolRevision -> Get (f p) Source #
Instances
GDeserializable (left :*: (right1 :*: right2)) => GDeserializable ((left :*: right1) :*: right2) Source # | |
Defined in ClickHaskell.NativeProtocol gDeserialize :: ProtocolRevision -> Get (((left :*: right1) :*: right2) p) Source # | |
(GDeserializable (S1 metaSel field), GDeserializable right) => GDeserializable (S1 metaSel field :*: right) Source # | |
Defined in ClickHaskell.NativeProtocol gDeserialize :: ProtocolRevision -> Get ((S1 metaSel field :*: right) p) Source # | |
GDeserializable f => GDeserializable (D1 c (C1 c2 f)) Source # | |
Defined in ClickHaskell.NativeProtocol gDeserialize :: ProtocolRevision -> Get (D1 c (C1 c2 f) p) Source # | |
Deserializable chType => GDeserializable (S1 ('MetaSel ('Just typeName) a b f) (Rec0 chType)) Source # | |
Defined in ClickHaskell.NativeProtocol gDeserialize :: ProtocolRevision -> Get (S1 ('MetaSel ('Just typeName) a b f) (Rec0 chType) p) Source # |
class Serializable chType where Source #
Nothing
serialize :: ProtocolRevision -> chType -> Builder Source #
default serialize :: (Generic chType, GSerializable (Rep chType)) => ProtocolRevision -> chType -> Builder Source #
Instances
class GSerializable f where Source #
gSerialize :: ProtocolRevision -> f p -> Builder Source #
Instances
GSerializable (left1 :*: (left2 :*: right)) => GSerializable ((left1 :*: left2) :*: right) Source # | |
Defined in ClickHaskell.NativeProtocol gSerialize :: ProtocolRevision -> ((left1 :*: left2) :*: right) p -> Builder Source # | |
(Serializable chType, GSerializable right) => GSerializable (S1 ('MetaSel ('Just typeName) a b f) (Rec0 chType) :*: right) Source # | |
Defined in ClickHaskell.NativeProtocol gSerialize :: ProtocolRevision -> (S1 ('MetaSel ('Just typeName) a b f) (Rec0 chType) :*: right) p -> Builder Source # | |
GSerializable f => GSerializable (D1 c (C1 c2 f)) Source # | |
Defined in ClickHaskell.NativeProtocol gSerialize :: ProtocolRevision -> D1 c (C1 c2 f) p -> Builder Source # | |
Serializable chType => GSerializable (S1 ('MetaSel ('Just typeName) a b f) (Rec0 chType)) Source # | |
Defined in ClickHaskell.NativeProtocol gSerialize :: ProtocolRevision -> S1 ('MetaSel ('Just typeName) a b f) (Rec0 chType) p -> Builder Source # |