Correct documentation of each_slice.

Typos and last example was wrong (copy paste and not updated)
Correct documentation of collect.
Correct documentation of select.
Correct the documentatin of reject.
Correct documentation of reduce function.