Attributes
- Companion:
- trait
- Source:
- Parallel.scala
- Graph
- Supertypes
- Self type
- Parallel.type
Members list
ParMapArity
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
ParTupleArity
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Attributes
- Inherited from:
- ParallelArityFunctions2
- Source:
- ParallelArityFunctions2.scala
Type members
Value members
Concrete methods
Provides an ApplicativeError[F, E]
instance for any F, that has a Parallel.Aux[M, F]
and a MonadError[M, E]
instance.
I.e. if you have a type M[_], that supports parallel composition through type F[_],
then you can get ApplicativeError[F, E]
from MonadError[M, E]
.
Provides an ApplicativeError[F, E]
instance for any F, that has a Parallel.Aux[M, F]
and a MonadError[M, E]
instance.
I.e. if you have a type M[_], that supports parallel composition through type F[_],
then you can get ApplicativeError[F, E]
from MonadError[M, E]
.
Attributes
- Source:
- Parallel.scala
Attributes
- Source:
- Parallel.scala
A Parallel instance for any type M[_]
that supports parallel composition through itself.
Can also be used for giving Parallel
instances to types that do not support parallel composition,
but are required to have an instance of Parallel
defined,
in which case parallel composition will actually be sequential.
A Parallel instance for any type M[_]
that supports parallel composition through itself.
Can also be used for giving Parallel
instances to types that do not support parallel composition,
but are required to have an instance of Parallel
defined,
in which case parallel composition will actually be sequential.
Attributes
- Source:
- Parallel.scala
Like Applicative[F].ap
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Applicative[F].ap
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Applicative[F].ap2
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Applicative[F].ap2
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Bitraverse[A].bisequence
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Bitraverse[A].bisequence
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Bitraverse[A].bitraverse
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Bitraverse[A].bitraverse
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like TraverseFilter#filterA
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like TraverseFilter#filterA
, but uses the applicative instance
corresponding to the Parallel instance instead.
Example:
scala> import cats.implicits._
scala> import cats.data._
scala> val list: List[Int] = List(1, 2, 3, 4)
scala> def validate(n: Int): EitherNec[String, Boolean] =
| if (n > 100) Left(NonEmptyChain.one("Too large"))
| else Right(n % 3 =!= 0)
scala> list.parFilterA(validate)
res0: EitherNec[String, List[Int]] = Right(List(1, 2, 4))
Attributes
- Source:
- Parallel.scala
Like Traverse[A].flatSequence
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Traverse[A].flatSequence
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Traverse[A].flatTraverse
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Traverse[A].flatTraverse
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Foldable[A].foldMapA
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Foldable[A].foldMapA
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Bitraverse[A].leftSequence
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Bitraverse[A].leftSequence
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Bitraverse[A].leftTraverse
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Bitraverse[A].leftTraverse
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like NonEmptyTraverse[A].nonEmptyFlatSequence
, but uses the apply instance
corresponding to the Parallel instance instead.
Like NonEmptyTraverse[A].nonEmptyFlatSequence
, but uses the apply instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like NonEmptyTraverse[A].nonEmptyFlatTraverse
, but uses the apply instance
corresponding to the Parallel instance instead.
Like NonEmptyTraverse[A].nonEmptyFlatTraverse
, but uses the apply instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like NonEmptyTraverse[A].nonEmptySequence
, but uses the apply instance
corresponding to the Parallel instance instead.
Like NonEmptyTraverse[A].nonEmptySequence
, but uses the apply instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Reducible[A].nonEmptySequence_
, but uses the apply instance
corresponding to the Parallel instance instead.
Like Reducible[A].nonEmptySequence_
, but uses the apply instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like NonEmptyTraverse[A].nonEmptyTraverse
, but uses the apply instance
corresponding to the Parallel instance instead.
Like NonEmptyTraverse[A].nonEmptyTraverse
, but uses the apply instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Reducible[A].nonEmptyTraverse_
, but uses the apply instance
corresponding to the Parallel instance instead.
Like Reducible[A].nonEmptyTraverse_
, but uses the apply instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Applicative[F].product
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Applicative[F].product
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Reducible[A].reduceMapA
, but uses the apply instance corresponding
to the NonEmptyParallel
instance instead.
Like Reducible[A].reduceMapA
, but uses the apply instance corresponding
to the NonEmptyParallel
instance instead.
Attributes
- Source:
- Parallel.scala
Like Applicative[F].replicateA
, but uses the apply instance
corresponding to the Parallel instance instead.
Like Applicative[F].replicateA
, but uses the apply instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Applicative[F].replicateA_
, but uses the apply instance
corresponding to the Parallel instance instead.
Like Applicative[F].replicateA_
, but uses the apply instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Traverse[A].sequence
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Traverse[A].sequence
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like TraverseFilter#sequenceFilter
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like TraverseFilter#sequenceFilter
, but uses the applicative instance
corresponding to the Parallel instance instead.
Example:
scala> import cats.implicits._
scala> import cats.data._
scala> val list: List[EitherNec[String, Option[Int]]] = List(Left(NonEmptyChain.one("Error")), Left(NonEmptyChain.one("Warning!")))
scala> list.parSequenceFilter
res0: EitherNec[String, List[Int]] = Left(Chain(Error, Warning!))
Attributes
- Source:
- Parallel.scala
Like Foldable[A].sequence_
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Foldable[A].sequence_
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like Traverse[A].traverse
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Traverse[A].traverse
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Like TraverseFilter#traverseFilter
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like TraverseFilter#traverseFilter
, but uses the applicative instance
corresponding to the Parallel instance instead.
Example:
scala> import cats.implicits._
scala> import cats.data._
scala> val list: List[Int] = List(1, 2, 3, 4)
scala> def validate(n: Int): EitherNec[String, Option[Int]] =
| if (n > 100) Left(NonEmptyChain.one("Too large"))
| else if (n % 3 =!= 0) Right(Some(n))
| else Right(None)
scala> list.parTraverseFilter(validate)
res0: EitherNec[String, List[Int]] = Right(List(1, 2, 4))
Attributes
- Source:
- Parallel.scala
Like Foldable[A].traverse_
, but uses the applicative instance
corresponding to the Parallel instance instead.
Like Foldable[A].traverse_
, but uses the applicative instance
corresponding to the Parallel instance instead.
Attributes
- Source:
- Parallel.scala
Attributes
- Source:
- Parallel.scala
Attributes
- Source:
- Parallel.scala
Attributes
- Source:
- Parallel.scala
Attributes
- Source:
- Parallel.scala
Inherited methods
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala
Attributes
- Inherited from:
- ParallelArityFunctions
- Source:
- ParallelArityFunctions.scala