relapse-1.0.0.1: Sensible RLP encoding
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.RLP.Types

Documentation

class RLPEncodable a where Source #

Minimal complete definition

Nothing

Instances

Instances details
RLPEncodable Char Source # 
Instance details

Defined in Data.RLP.Types

RLPEncodable Integer Source # 
Instance details

Defined in Data.RLP.Types

RLPEncodable () Source # 
Instance details

Defined in Data.RLP.Types

(Integral n, FiniteBits n) => RLPEncodable n Source # 
Instance details

Defined in Data.RLP.Types

RLPEncodable String Source # 
Instance details

Defined in Data.RLP.Types

RLPEncodable ByteString Source # 
Instance details

Defined in Data.RLP.Types

RLPEncodable RLPObject Source # 
Instance details

Defined in Data.RLP.Types

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

Defined in Data.RLP.Types

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

Defined in Data.RLP.Types

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

Defined in Data.RLP.Types

Methods

rlpEncode :: (a, b, c) -> RLPObject Source #

rlpDecode :: RLPObject -> Either String (a, b, c) Source #

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

Defined in Data.RLP.Types

Methods

rlpEncode :: (a, b, c, d) -> RLPObject Source #

rlpDecode :: RLPObject -> Either String (a, b, c, d) Source #

(RLPEncodable a, RLPEncodable b, RLPEncodable c, RLPEncodable d, RLPEncodable e) => RLPEncodable (a, b, c, d, e) Source # 
Instance details

Defined in Data.RLP.Types

Methods

rlpEncode :: (a, b, c, d, e) -> RLPObject Source #

rlpDecode :: RLPObject -> Either String (a, b, c, d, e) Source #

(RLPEncodable a, RLPEncodable b, RLPEncodable c, RLPEncodable d, RLPEncodable e, RLPEncodable f) => RLPEncodable (a, b, c, d, e, f) Source # 
Instance details

Defined in Data.RLP.Types

Methods

rlpEncode :: (a, b, c, d, e, f) -> RLPObject Source #

rlpDecode :: RLPObject -> Either String (a, b, c, d, e, f) Source #

(RLPEncodable a, RLPEncodable b, RLPEncodable c, RLPEncodable d, RLPEncodable e, RLPEncodable f, RLPEncodable g) => RLPEncodable (a, b, c, d, e, f, g) Source # 
Instance details

Defined in Data.RLP.Types

Methods

rlpEncode :: (a, b, c, d, e, f, g) -> RLPObject Source #

rlpDecode :: RLPObject -> Either String (a, b, c, d, e, f, g) Source #

(RLPEncodable a, RLPEncodable b, RLPEncodable c, RLPEncodable d, RLPEncodable e, RLPEncodable f, RLPEncodable g, RLPEncodable h) => RLPEncodable (a, b, c, d, e, f, g, h) Source # 
Instance details

Defined in Data.RLP.Types

Methods

rlpEncode :: (a, b, c, d, e, f, g, h) -> RLPObject Source #

rlpDecode :: RLPObject -> Either String (a, b, c, d, e, f, g, h) Source #

(RLPEncodable a, RLPEncodable b, RLPEncodable c, RLPEncodable d, RLPEncodable e, RLPEncodable f, RLPEncodable g, RLPEncodable h, RLPEncodable i) => RLPEncodable (a, b, c, d, e, f, g, h, i) Source # 
Instance details

Defined in Data.RLP.Types

Methods

rlpEncode :: (a, b, c, d, e, f, g, h, i) -> RLPObject Source #

rlpDecode :: RLPObject -> Either String (a, b, c, d, e, f, g, h, i) Source #

unpackBE :: (Bits n, Integral n) => [Word8] -> n Source #

class GRLPEncodable g where Source #

Instances

Instances details
GRLPEncodable (U1 :: Type -> Type) Source # 
Instance details

Defined in Data.RLP.Types

RLPEncodable a => GRLPEncodable (K1 i a :: Type -> Type) Source # 
Instance details

Defined in Data.RLP.Types

(GRLPEncodable a, GRLPEncodable b) => GRLPEncodable (a :+: b) Source # 
Instance details

Defined in Data.RLP.Types

Methods

gRLPEncode :: (a :+: b) a0 -> RLPObject Source #

gRLPDecode :: RLPObject -> Either String ((a :+: b) a0) Source #

(GRLPEncodable a, GRLPEncodable b) => GRLPEncodable (a :*: b) Source # 
Instance details

Defined in Data.RLP.Types

Methods

gRLPEncode :: (a :*: b) a0 -> RLPObject Source #

gRLPDecode :: RLPObject -> Either String ((a :*: b) a0) Source #

GRLPEncodable a => GRLPEncodable (M1 i c a) Source # 
Instance details

Defined in Data.RLP.Types

Methods

gRLPEncode :: M1 i c a a0 -> RLPObject Source #

gRLPDecode :: RLPObject -> Either String (M1 i c a a0) Source #