ghc-7.10.0.20150316: The GHC API

Safe HaskellNone
LanguageHaskell2010

Pair

Documentation

data Pair a Source

Constructors

Pair 

Fields

pFst :: a
 
pSnd :: a
 

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

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

swap :: Pair a -> Pair a Source