Comment by zimpenfish
4 years ago
> For instance, map - I know that it will return a new collection of exactly the same number of items the iterable being iterated has.
Unless you're using Perl - "Each element of LIST may produce zero, one, or more elements in the generated list".
Perl implements flatMap and calls it map :-)