describe-0.3.0.0: Combinators for describing binary data structures

Safe HaskellNone
LanguageHaskell2010

Data.Serialize.Describe.Combinators.LPList

Synopsis

Documentation

newtype LPList t a Source #

A type level wrapper around a length-prefixed list combinator. The parameter t is the integral descriptor to encode the length in.

Constructors

LPList 

Fields

Instances
Show a => Show (LPList t a) Source # 
Instance details

Defined in Data.Serialize.Describe.Combinators.LPList

Methods

showsPrec :: Int -> LPList t a -> ShowS #

show :: LPList t a -> String #

showList :: [LPList t a] -> ShowS #

(Describe t, Describe a, Integral t) => Describe (LPList t a) Source # 
Instance details

Defined in Data.Serialize.Describe.Combinators.LPList

Methods

describe :: (s -> LPList t a) -> Descriptor s (LPList t a) Source #