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

Chapter9

Synopsis

Documentation

mysteryMax :: Integer -> Integer -> Integer -> Integer Source #

^^^^^^^^^^^^^^^^^^^^^^^ A function supposed to give the maximum of three (integer) values.

prop_mystery :: Integer -> Integer -> Integer -> Bool Source #

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

posInts :: [Integer] Source #

^^^^^^^^

prop_SumDoubleAll :: [Integer] -> Bool Source #

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

length :: [a] -> Int Source #

(++) :: [a] -> [a] -> [a] Source #

prop_lengthPlusPlus :: [a] -> [a] -> Bool Source #

reverse :: [a] -> [a] Source #

prop_reversePlusPlus' :: Eq a => [a] -> [a] -> Bool Source #

unzip :: [(a, b)] -> ([a], [b]) Source #

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

shunt :: [a] -> [a] -> [a] Source #

rev :: [a] -> [a] Source #