- Companion
- class
Value members
Concrete methods
def instance[F[_], G[_]](inj_: NaturalTransformation[F, G], prj_: NaturalTransformation[G, [α] =>> Option[F[α]]]): Inject[F, G]
This should only be used by third party coproduct encodings. If G <: Coproduct
it is likely to break typeclass coherence. Caveat Emptor.
This should only be used by third party coproduct encodings. If G <: Coproduct
it is likely to break typeclass coherence. Caveat Emptor.
Implicits
Inherited implicits
implicit
def rightInjectInstance[F[_], G[_], H[_]](implicit I: Inject[F, G]): Inject[F, [_] =>> Coproduct[H, G, _$12]]
- Inherited from
- InjectInstances