bimaps-0.0.0.1: bijections with multiple implementations.

Safe HaskellNone
LanguageHaskell2010

Data.Bijection.Vector

Description

A bijection between boxed, immutable vectors.

Documentation

data Bimap l r Source

Instances

(Eq l, Eq r) => Eq (Bimap l r) 
(Read l, Read r) => Read (Bimap l r) 
(Show l, Show r) => Show (Bimap l r) 
Generic (Bimap l r) 
(ToJSON l, ToJSON r) => ToJSON (Bimap l r) 
(FromJSON l, FromJSON r) => FromJSON (Bimap l r) 
(Binary l, Binary r) => Binary (Bimap l r) 
(Serialize l, Serialize r) => Serialize (Bimap l r) 
(NFData l, NFData r) => NFData (Bimap l r) 
(Eq l, Eq 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