Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This module provides linear functions commonly used on tuples
Synopsis
- fst :: Consumable b => (a, b) %1 -> a
- snd :: Consumable a => (a, b) %1 -> b
- swap :: (a, b) %1 -> (b, a)
- curry :: ((a, b) %1 -> c) %1 -> a %1 -> b %1 -> c
- uncurry :: (a %1 -> b %1 -> c) %1 -> (a, b) %1 -> c