ghc-7.8.20140130: The GHC API

Safe HaskellNone
LanguageHaskell98

Pair

Documentation

data Pair aSource

Constructors

Pair 

Fields

pFst :: a
 
pSnd :: a
 

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

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

swap :: Pair a -> Pair aSource