ghc-7.4.1: The GHC API

Safe HaskellSafe-Infered

Pair

Documentation

data Pair a Source

Constructors

Pair 

Fields

pFst :: a
 
pSnd :: a
 

unPair :: Pair a -> (a, a)Source

toPair :: (a, a) -> Pair aSource

swap :: Pair a -> Pair aSource