From e72b0876fa2093a90d174164ec8154cd0b9a3f3b Mon Sep 17 00:00:00 2001 From: Luka Jacobowitz Date: Mon, 28 Aug 2017 21:37:46 +0200 Subject: [PATCH] Fix mixup --- core/src/main/scala/cats/Parallel.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/scala/cats/Parallel.scala b/core/src/main/scala/cats/Parallel.scala index 140176964c5..372c30e2c6e 100644 --- a/core/src/main/scala/cats/Parallel.scala +++ b/core/src/main/scala/cats/Parallel.scala @@ -4,19 +4,19 @@ package cats * 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. */ -trait Parallel[M[_], F[_]] { +trait Parallel[M[_], F[_]] extends Serializable { /** * The applicative instance for F[_] */ def applicative: Applicative[F] /** - * Natural Transformation from the sequential Monad M[_] to the parallel Applicative F[_]. + * Natural Transformation from the parallel Applicative F[_] to the sequential Monad M[_]. */ def sequential(implicit M: Monad[M]): F ~> M /** - * Natural Transformation from the parallel Applicative F[_] to the sequential Monad M[_]. + * Natural Transformation from the sequential Monad M[_] to the parallel Applicative F[_]. */ def parallel(implicit M: Monad[M]): M ~> F }