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