synthesizer-0.0.3: Audio signal processing coded in HaskellSource codeContentsIndex
Synthesizer.Utility
Contents
arithmetic
Synopsis
viewListL :: [a] -> Maybe (a, [a])
viewListR :: [a] -> Maybe ([a], a)
nest :: Int -> (a -> a) -> a -> a
mapPair :: (a -> c, b -> d) -> (a, b) -> (c, d)
mapFst :: (a -> c) -> (a, b) -> (c, b)
mapSnd :: (b -> d) -> (a, b) -> (a, d)
fst3 :: (a, b, c) -> a
snd3 :: (a, b, c) -> b
thd3 :: (a, b, c) -> c
swap :: (a, b) -> (b, a)
common :: Eq a => String -> a -> a -> a
fwrap :: C a => (a, a) -> a -> a
fmod :: C a => a -> a -> a
fmodAlt :: C a => a -> a -> a
propFMod :: C a => a -> a -> Bool
affineComb :: C t y => t -> (y, y) -> y
balanceLevel :: C y => y -> [y] -> [y]
randomRsBalanced :: (RandomGen g, Random y, C y) => g -> Int -> y -> y -> [y]
clip :: Ord a => a -> a -> a -> a
Documentation
viewListL :: [a] -> Maybe (a, [a])Source
viewListR :: [a] -> Maybe ([a], a)Source
nest :: Int -> (a -> a) -> a -> aSource
mapPair :: (a -> c, b -> d) -> (a, b) -> (c, d)Source
mapFst :: (a -> c) -> (a, b) -> (c, b)Source
mapSnd :: (b -> d) -> (a, b) -> (a, d)Source
fst3 :: (a, b, c) -> aSource
snd3 :: (a, b, c) -> bSource
thd3 :: (a, b, c) -> cSource
swap :: (a, b) -> (b, a)Source
common :: Eq a => String -> a -> a -> aSource
arithmetic
fwrap :: C a => (a, a) -> a -> aSource
fmod :: C a => a -> a -> aSource
fmodAlt :: C a => a -> a -> aSource
propFMod :: C a => a -> a -> BoolSource
affineComb :: C t y => t -> (y, y) -> ySource
balanceLevel :: C y => y -> [y] -> [y]Source
randomRsBalanced :: (RandomGen g, Random y, C y) => g -> Int -> y -> y -> [y]Source
clip :: Ord a => a -> a -> a -> aSource
Produced by Haddock version 2.3.0