haskpy.typeclasses.contravariant

Contravariant functors

Contravariant

Contravariant functor

contramap(f, x)

(a -> b) -> f b -> f a

contrareplace(b, x)

b -> f b -> f a