Update documentation for mapreduce, mapfoldl, mapfoldr

Update documentation for reduce, foldl, and foldr.
Add mapreduce documentation for variant with v0.
Add mapfoldl, mapfoldr documentation.