Craft3e-0.2.0.1: Code for Haskell: the Craft of Functional Programming, 3rd ed.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Chapter11

Synopsis

Documentation

(>.>) :: (a -> b) -> (b -> c) -> a -> c infixl 9 Source #

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

mapFuns :: [a -> b] -> a -> [b] Source #

mapFuns1 :: [t -> b] -> t -> [b] Source #

mapFuns2 :: [p -> b] -> p -> [b] Source #

comp2 :: (a -> b) -> (b -> b -> c) -> a -> a -> c Source #

plumbingExample :: Integer Source #

^^^^^^^^^^^^^^^^^^

addNum' :: Num a => a -> a -> a Source #

egFun :: [Int] -> [Int] Source #

member :: (Foldable t, Eq a) => t a -> a -> Bool Source #

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

g :: (Int -> Int) -> Int Source #

^^^^^^^^^^^^^^^^^^^^^^

curry :: ((a, b) -> c) -> a -> b -> c Source #

uncurry :: (a -> b -> c) -> (a, b) -> c Source #

prop_zip :: [(Integer, Integer)] -> Bool Source #

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

twice :: (a -> a) -> a -> a Source #

iter :: Int -> (a -> a) -> a -> a Source #

iter' :: Int -> (b -> b) -> b -> b Source #

addNum3 :: Num p => p -> p -> p Source #

flip' :: (a -> b -> c) -> b -> a -> c Source #

flip :: (a -> b -> c) -> b -> a -> c Source #

puzzle :: (a1 -> b -> c) -> a1 -> (a2 -> b) -> a2 -> c Source #

getEvens :: [Int] -> [Int] Source #

getWord' :: [Char] -> [Char] Source #

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

prop_mf :: Eq b => (b -> Bool) -> (a -> b) -> [a] -> Bool Source #