ghc-7.8.4: The GHC API

Safe HaskellNone
LanguageHaskell98

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