ForEachOps
zio.prelude.ForEachSyntax.ForEachOps
Provides infix syntax for traversing collections.
Attributes
- Source
- ForEach.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
def collect[B](pf: PartialFunction[A, B])(implicit F: ForEach[F], I: IdentityEither[F], B: IdentityBoth[F]): F[B]
Attributes
- Source
- ForEach.scala
def collectM[G[_] : IdentityBoth, B](f: A => G[Option[B]])(implicit evidence$1: IdentityBoth[G], evidence$2: Covariant[G], F: ForEach[F], I: IdentityEither[F], B: IdentityBoth[F]): G[F[B]]
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
def filterM[G[_] : IdentityBoth](f: A => G[Boolean])(implicit evidence$1: IdentityBoth[G], evidence$2: Covariant[G], F: ForEach[F], I: IdentityEither[F], B: IdentityBoth[F]): G[F[A]]
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
def foldLeftM[G[_] : Covariant, S](s: S)(f: (S, A) => G[S])(implicit evidence$1: IdentityFlatten[G], evidence$2: Covariant[G], F: ForEach[F]): G[S]
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
def foldMapM[G[_] : IdentityBoth, B : Identity](f: A => G[B])(implicit evidence$1: Covariant[G], evidence$2: IdentityBoth[G], evidence$3: Identity[B], F: ForEach[F]): G[B]
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
def foldRightM[G[_] : Covariant, S](s: S)(f: (A, S) => G[S])(implicit evidence$1: IdentityFlatten[G], evidence$2: Covariant[G], F: ForEach[F]): G[S]
Attributes
- Source
- ForEach.scala
def forEach[G[_] : Covariant, B](f: A => G[B])(implicit evidence$1: IdentityBoth[G], evidence$2: Covariant[G], F: ForEach[F]): G[F[B]]
Attributes
- Source
- ForEach.scala
def forEachFlatten[G[_] : Covariant, B](f: A => G[F[B]])(implicit evidence$1: IdentityBoth[G], evidence$2: Covariant[G], F: ForEach[F], AF: AssociativeFlatten[F]): G[F[B]]
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
def groupByNonEmptyM[G[_] : Covariant, K](f: A => G[K])(implicit evidence$1: IdentityBoth[G], evidence$2: Covariant[G], F: ForEach[F]): G[Map[K, NonEmptyChunk[A]]]
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
def partitionMap[B, C](f: A => Either[B, C])(implicit F: ForEach[F], both: IdentityBoth[F], either: IdentityEither[F]): (F[B], F[C])
Attributes
- Source
- ForEach.scala
def partitionMapM[G[_] : IdentityBoth, B, C](f: A => G[Either[B, C]])(implicit evidence$1: IdentityBoth[G], evidence$2: Covariant[G], F: ForEach[F], both: IdentityBoth[F], either: IdentityEither[F]): G[(F[B], F[C])]
Attributes
- Source
- ForEach.scala
def partitionMapV[W, E, B](f: A => ZValidation[W, E, B])(implicit F: ForEach[F], both: IdentityBoth[F], either: IdentityEither[F]): (F[E], F[B])
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
def reduceMapOption[B : Associative](f: A => B)(implicit evidence$1: Associative[B], F: ForEach[F]): Option[B]
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
def withFilter(f: A => Boolean)(implicit F: ForEach[F], I: IdentityEither[F], B: IdentityBoth[F]): F[A]
Attributes
- Source
- ForEach.scala
def zipAll[B](that: F[B])(implicit F: ForEach[F], both: IdentityBoth[F], either: IdentityEither[F]): F[These[A, B]]
Attributes
- Source
- ForEach.scala
def zipAllWith[B, C](that: F[B])(f: (These[A, B]) => C)(implicit F: ForEach[F], both: IdentityBoth[F], either: IdentityEither[F]): F[C]
Attributes
- Source
- ForEach.scala
Attributes
- Source
- ForEach.scala
In this article