WithFilterSubstAsyncShift

cps.runtime.WithFilterSubstAsyncShift
class WithFilterSubstAsyncShift[A, C <: ([X] =>> Iterable[X] & IterableOps[X, C, C[X]]), CA <: C[A]](ca: CA, p: A => Boolean, csf: IterableOpsAsyncShift[A, C, CA])

WithFilter should be handled in a special way, because it is impossible to access underlaying collection from withFilter, so it's impossible to write async version of withFilter functions, because they require eration over original collection.

Value parameters

ca

original colleaction

csf

Asy

p

predicate

Attributes

Source
WithFilterSubstAsyncShift.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def flatMap[F[_], B](m: CpsMonad[F])(f: A => F[IterableOnce[B]]): F[C[B]]
def foreach[F[_], U](m: CpsMonad[F])(f: A => F[U]): F[Unit]
def map[F[_], B](m: CpsMonad[F])(f: A => F[B]): F[C[B]]
def withFilter[F[_]](m: CpsMonad[F])(p1: A => F[Boolean]): DelayedWithFilter[F, A, C, CA]