diff --git a/core/src/main/scala/cats/MonadFilter.scala b/core/src/main/scala/cats/MonadFilter.scala index 66d99c7d31..80129ebc82 100644 --- a/core/src/main/scala/cats/MonadFilter.scala +++ b/core/src/main/scala/cats/MonadFilter.scala @@ -15,7 +15,4 @@ import simulacrum.typeclass def filter[A](fa: F[A])(f: A => Boolean): F[A] = flatMap(fa)(a => if (f(a)) pure(a) else empty[A]) - - def filterM[A](fa: F[A])(f: A => F[Boolean]): F[A] = - flatMap(fa)(a => flatMap(f(a))(b => if (b) pure(a) else empty[A])) }