Filterable
Signatures
def filterMap(f: a -> Option[b] \ ef, t: m[a]): m[b] \ ef with Filterable[m]
SourceApplies the partial function f
to every element in x
collecting the results.
Class Definitions
def filter(f: a -> Bool \ ef, t: m[a]): m[a] \ ef with Filterable[m]
SourceApplies f
to every element in x
. Keeps every element that satisfies f
.