In a lot of languages, stdlibs, what have you, map is implemented in terms of a reduce like this.<p>In a non-lazy language, this kind of a reduce is usually necessary when you want to omit an item efficiently from the resultant array - map does not offer a way to do this.