Linq Map! or Collect!
The higher-order function map
is best represented in Enumerable.Select which is an extension method in System.Linq
.
In case you are curious the other higher-order functions break out like this:
reduce ->
Enumerable.Aggregatefilter ->
Enumerable.Where