ghc-7.4.2: 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