Comment Comment by pash In other words, look at the types. The type of the folding function (the first argument) indicates how each fold works. foldl' :: Foldable t => (b -> a -> b) -> b -> t a -> b foldr :: Foldable t => (a -> b -> b) -> b -> t a -> b parent pash 1 month ago