Simple function composition.
Simple function composition. Allows map fusion without touching
the underlying F.
Converts to F[A] given that F is a contravariant.
Natural transformation.
Alias for run.
Alias for run.
Decomposition of
fi.contramap(k)into its components, as it is frequently convenient to applykseparately from sorting or whatever process withfi, even whenBis unknown, which is very common.This is isomorphic to
Fas long asFitself is a contravariant functor. The homomorphism fromF[A]toContravariantCoyoneda[F,A]exists even whenFis not a contravariant functor.See
ContravariantCoyonedaUsage.scalain the scalaz source tree for an interesting usage demonstration.As
ContravariantCoyoneda(o)(identity).unlift=o, further factoring can occur as follows, for free:https://hackage.haskell.org/package/kan-extensions-4.0.1/docs/Data-Functor-Contravariant-Coyoneda.html