Filterable
Trait for types that support filtering.
Instances
Signatures
def filterMap(f: a -> Option[b] \ ef, t: m[a]): m[b] \ ef + Aef[m] with Filterable[m]§ SourceApplies the partial function f to every element in x collecting the results.
Trait Definitions
def filter(f: a -> Bool \ ef, t: m[a]): m[a] \ ef + Aef[m] with Filterable[m]§ SourceApplies f to every element in x. Keeps every element that satisfies f.