foldl :: (a -> b -> a) -> a -> [b] -> a foldr :: (a -> b -> b) -> b -> [a] -> b
Which they will be in most of the example code he used. They're not the best examples.