Yampa-0.9.7: Library for programming hybrid systems.

Copyright(c) Antony Courtney and Henrik Nilsson, Yale University, 2003
LicenseBSD-style (see the LICENSE file in the distribution)
Maintainernilsson@cs.yale.edu
Stabilityprovisional
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

FRP.Yampa.Miscellany

Description

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 Source

dup :: a -> (a, a) Source

swap :: (a, b) -> (b, a) Source

mapFst :: (a -> b) -> [(a, c)] -> [(b, c)] Source

mapSnd :: (a -> b) -> [(c, a)] -> [(c, b)] Source

sel3_1 :: (a, b, c) -> a Source

sel3_2 :: (a, b, c) -> b Source

sel3_3 :: (a, b, c) -> c Source

sel4_1 :: (a, b, c, d) -> a Source

sel4_2 :: (a, b, c, d) -> b Source

sel4_3 :: (a, b, c, d) -> c Source

sel4_4 :: (a, b, c, d) -> d Source

sel5_1 :: (a, b, c, d, e) -> a Source

sel5_2 :: (a, b, c, d, e) -> b Source

sel5_3 :: (a, b, c, d, e) -> c Source

sel5_4 :: (a, b, c, d, e) -> d Source

sel5_5 :: (a, b, c, d, e) -> e Source

fDiv :: RealFrac a => a -> a -> Integer infixl 7 Source

fMod :: RealFrac a => a -> a -> a infixl 7 Source

fDivMod :: RealFrac a => a -> a -> (Integer, a) Source