NonEmptyParallel

cats.NonEmptyParallel
See theNonEmptyParallel companion object
trait NonEmptyParallel[M[_]] extends Serializable

Some types that form a FlatMap, are also capable of forming an Apply that supports parallel composition. The NonEmptyParallel type class allows us to represent this relationship.

Attributes

Companion
object
Source
Parallel.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
trait Parallel[M]

Members list

Type members

Types

type F[_]

Attributes

Source
Parallel.scala

Value members

Abstract methods

def apply: Apply[F]

The Apply instance for F[_]

The Apply instance for F[_]

Attributes

Source
Parallel.scala
def flatMap: FlatMap[M]

The FlatMap instance for M[_]

The FlatMap instance for M[_]

Attributes

Source
Parallel.scala
def parallel: FunctionK[M, F]

Natural Transformation from the sequential FlatMap M[_] to the parallel Apply F[_].

Natural Transformation from the sequential FlatMap M[_] to the parallel Apply F[_].

Attributes

Source
Parallel.scala

Natural Transformation from the parallel Apply F[_] to the sequential FlatMap M[_].

Natural Transformation from the parallel Apply F[_] to the sequential FlatMap M[_].

Attributes

Source
Parallel.scala

Concrete methods

def parProductL[A, B](ma: M[A])(mb: M[B]): M[A]

Like Apply.productL, but uses the apply instance corresponding to the Parallel instance instead.

Like Apply.productL, but uses the apply instance corresponding to the Parallel instance instead.

Attributes

Source
Parallel.scala
def parProductR[A, B](ma: M[A])(mb: M[B]): M[B]

Like Apply.productR, but uses the apply instance corresponding to the Parallel instance instead.

Like Apply.productR, but uses the apply instance corresponding to the Parallel instance instead.

Attributes

Source
Parallel.scala