Contravariant

smithy4s.capability.Contravariant
See theContravariant companion object
trait Contravariant[F[_]]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait EncoderK[F, Result]

Members list

Concise view

Value members

Abstract methods

def contramap[A, B](fa: F[A])(f: B => A): F[B]
Implicitly added by optionInstance
def contramap[A, B](fa: F[A])(f: B => A): F[B]