All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cats.syntax.contravariantSemigroupal.scala Maven / Gradle / Ivy

The newest version!
package cats
package syntax

import cats.ContravariantSemigroupal

trait ContravariantSemigroupalSyntax extends TupleSemigroupalSyntax {
  implicit final def catsSyntaxContravariantSemigroupal[F[_], A](
    fa: F[A]
  )(implicit F: ContravariantSemigroupal[F]): ContravariantSemigroupal.Ops[F, A] =
    new ContravariantSemigroupal.Ops[F, A] {
      type TypeClassType = ContravariantSemigroupal[F]

      val self = fa
      val typeClassInstance = F
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy