Closed jbrains closed 5 years ago
The function map corresponds to collect in Ruby/Smalltalk, and not select. The latter corresponds to filter.
map
collect
select
filter
The function
map
corresponds tocollect
in Ruby/Smalltalk, and notselect
. The latter corresponds tofilter
.