Filterable

trait Filterable[m: Type -> Type] with Functor[m]Source

A trait for filtering container functors.

Signatures

def filterMap(f: a -> Option[b] \ ef, t: m[a]): m[b] \ ef with Filterable[m] Source

Applies 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 with Filterable[m] Source