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