Instance

izumi.functional.bio.data.Morphism1.Instance
See theInstance companion object
trait Instance[-F[_], +G[_]]

When it's more convenient to write a polymorphic function using a class (or kind-projector's lambda syntax):

 Lambda[FunctionK.Instance[F, G]](a => f(b(a)))

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def apply[A](fa: F[A]): G[A]

Concrete methods

final def andThen[H[_]](f: Morphism1[G, H]): Morphism1[F, H]
final def compose[F1[_]](f: Morphism1[F1, F]): Morphism1[F1, G]