bimaps-0.0.0.1: bijections with multiple implementations.

Safe HaskellNone
LanguageHaskell2010

Data.Bijection.Vector.Storable

Description

A bijection between boxed, immutable vectors.

Documentation

data Bimap l r Source

Instances

(Eq l, Eq r, Storable l, Storable r) => Eq (Bimap l r) 
(Read l, Read r, Storable l, Storable r) => Read (Bimap l r) 
(Show l, Show r, Storable l, Storable r) => Show (Bimap l r) 
Generic (Bimap l r) 
(Storable l, Storable r, ToJSON l, ToJSON r) => ToJSON (Bimap l r) 
(Storable l, Storable r, FromJSON l, FromJSON r) => FromJSON (Bimap l r) 
(Storable l, Storable r, Binary l, Binary r) => Binary (Bimap l r) 
(Storable l, Storable r, Serialize l, Serialize r) => Serialize (Bimap l r) 
(NFData l, NFData r) => NFData (Bimap l r) 
(Eq l, Eq r, Storable l, Storable r, Storable (l, r)) => Bijection (Bimap l r) 
type Rep (Bimap l r) 
type ContL (Bimap l r) = Vector (l, r) 
type ContR (Bimap l r) = Vector (r, l) 
type ElemL (Bimap l r) = l 
type ElemR (Bimap l r) = r