It's a convention thing. `filter` on an `Iterable`...
# announcements
d
It's a convention thing.
filter
on an
Iterable
eagerly filters the elements and returns a (filtered)
List
.
filter
on
Sequence
returns a new
Sequence
which lazily filters the elements. Same for
map
,
flatMap
, etc.
☝️ 2