Portability | portable |
---|---|
Stability | provisional |
Maintainer | nilsson@cs.yale.edu |
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.
- (#) :: (a -> b) -> (b -> c) -> a -> c
- 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
- fDiv :: RealFrac a => a -> a -> Integer
- fMod :: RealFrac a => a -> a -> a
- fDivMod :: RealFrac a => a -> a -> (Integer, a)