Externalizer

libretto.CoreLib.Externalizer
See theExternalizer companion object
trait Externalizer[F[_]]

Functor from category -⚬ to the category => of Scala functions. It takes a morphism A -⚬ B internal to the DSL and maps it to a morphism F[A] => F[B] in the meta language (Scala), i.e. external to the DSL.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Abstract methods

def lift[A, B](f: A -⚬ B): F[A] => F[B]

Concrete methods

def [G[_]](that: Functor[G]): Externalizer[[x] =>> F[G[x]]]
def [G[_]](that: ContraFunctor[G]): ContraExternalizer[[x] =>> F[G[x]]]
def [G[_, _]](that: Bifunctor[G]): BiExternalizer[[x, y] =>> F[G[x, y]]]