Packages

trait Parallel[M[_]] extends NonEmptyParallel[M]

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

Source
Parallel.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Parallel
  2. NonEmptyParallel
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type F[_]
    Definition Classes
    NonEmptyParallel

Abstract Value Members

  1. abstract def applicative: Applicative[F]

    The applicative instance for F[_]

  2. abstract def monad: Monad[M]

    The monad instance for M[_]

  3. abstract def parallel: ~>[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[_].

    Definition Classes
    NonEmptyParallel
  4. abstract def sequential: ~>[F, M]

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

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

    Definition Classes
    NonEmptyParallel

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def applicativeError[E](implicit E: MonadError[M, E]): ApplicativeError[F, E]

    Provides an ApplicativeError[F, E] instance for any F, that has a Parallel.Aux[M, F] and a MonadError[M, E] instance.

    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].

  5. def apply: Apply[F]

    The Apply instance for F[_]

    The Apply instance for F[_]

    Definition Classes
    ParallelNonEmptyParallel
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def flatMap: FlatMap[M]

    The FlatMap instance for M[_]

    The FlatMap instance for M[_]

    Definition Classes
    ParallelNonEmptyParallel
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. 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.

    Definition Classes
    NonEmptyParallel
  18. 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.

    Definition Classes
    NonEmptyParallel
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from NonEmptyParallel[M]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped