Add currying to foldl
Add currying to foldr