Skip to content

Commit 83f3aca

Browse files
committed
Make Tuple2KApply subclass Tuple2KSemigroupal
1 parent a41f638 commit 83f3aca

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/src/main/scala/cats/data/Tuple2K.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,10 @@ sealed private[data] trait Tuple2KContravariantMonoidal[F[_], G[_]]
249249
Tuple2K(F.contramap(fa.first)(f), G.contramap(fa.second)(f))
250250
}
251251

252-
sealed private[data] trait Tuple2KApply[F[_], G[_]] extends Apply[λ[α => Tuple2K[F, G, α]]] with Tuple2KFunctor[F, G] {
252+
sealed private[data] trait Tuple2KApply[F[_], G[_]]
253+
extends Apply[λ[α => Tuple2K[F, G, α]]]
254+
with Tuple2KFunctor[F, G]
255+
with Tuple2KSemigroupal[F, G] {
253256
def F: Apply[F]
254257
def G: Apply[G]
255258
override def ap[A, B](f: Tuple2K[F, G, A => B])(fa: Tuple2K[F, G, A]): Tuple2K[F, G, B] =

0 commit comments

Comments
 (0)