ghc-7.7.20130829: The GHC API

Safe HaskellNone

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