Yampa-0.9.6: Library for programming hybrid systems.

Portabilityportable
Stabilityprovisional
Maintainernilsson@cs.yale.edu
Safe HaskellSafe-Inferred

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 -> cSource

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) -> aSource

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

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

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

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

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

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

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

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

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

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

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

fDiv :: RealFrac a => a -> a -> IntegerSource

fMod :: RealFrac a => a -> a -> aSource

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