fixed-vector-binary-1.0.0.2: Binary instances for fixed-vector
Safe HaskellNone
LanguageHaskell2010

Data.Vector.Fixed.Instances.Binary

Description

Module with binary instances for data types defined in fixed vector

Orphan instances

Binary a => Binary (Only a) Source # 
Instance details

Methods

put :: Only a -> Put #

get :: Get (Only a) #

putList :: [Only a] -> Put #

(Unbox n a, Binary a) => Binary (Vec n a) Source # 
Instance details

Methods

put :: Vec n a -> Put #

get :: Get (Vec n a) #

putList :: [Vec n a] -> Put #

(Arity n, Storable a, Binary a) => Binary (Vec n a) Source # 
Instance details

Methods

put :: Vec n a -> Put #

get :: Get (Vec n a) #

putList :: [Vec n a] -> Put #

(Arity n, Prim a, Binary a) => Binary (Vec n a) Source # 
Instance details

Methods

put :: Vec n a -> Put #

get :: Get (Vec n a) #

putList :: [Vec n a] -> Put #

(Arity n, Binary a) => Binary (Vec n a) Source # 
Instance details

Methods

put :: Vec n a -> Put #

get :: Get (Vec n a) #

putList :: [Vec n a] -> Put #

(Arity n, Binary a) => Binary (VecList n a) Source # 
Instance details

Methods

put :: VecList n a -> Put #

get :: Get (VecList n a) #

putList :: [VecList n a] -> Put #

Binary (Empty a) Source # 
Instance details

Methods

put :: Empty a -> Put #

get :: Get (Empty a) #

putList :: [Empty a] -> Put #