Copyright | (c) Antony Courtney and Henrik Nilsson, Yale University, 2003 |
---|---|
License | BSD-style (see the LICENSE file in the distribution) |
Maintainer | nilsson@cs.yale.edu |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Collection of entities that really should be part of the Haskell 98 prelude or simply have no better home.
!!! Reverse function composition should go.
!!! Better to use <<<
and >>>
for, respectively,
!!! function composition and reverse function composition.
Documentation
(#) :: (a -> b) -> (b -> c) -> a -> c infixl 9
dup :: a -> (a, a)
swap :: (a, b) -> (b, a)
mapFst :: (a -> b) -> [(a, c)] -> [(b, c)]
mapSnd :: (a -> b) -> [(c, a)] -> [(c, b)]
sel3_1 :: (a, b, c) -> a
sel3_2 :: (a, b, c) -> b
sel3_3 :: (a, b, c) -> c
sel4_1 :: (a, b, c, d) -> a
sel4_2 :: (a, b, c, d) -> b
sel4_3 :: (a, b, c, d) -> c
sel4_4 :: (a, b, c, d) -> d
sel5_1 :: (a, b, c, d, e) -> a
sel5_2 :: (a, b, c, d, e) -> b
sel5_3 :: (a, b, c, d, e) -> c
sel5_4 :: (a, b, c, d, e) -> d
sel5_5 :: (a, b, c, d, e) -> e