MappedMorphism

libretto.lambda.MappedMorphism
See theMappedMorphism companion object
trait MappedMorphism[->>[_, _], F[_, _], A, B]

Image of some morphism A -> B in the target category ->>.

Type parameters

->>

target category

A

source of the original morphism in the source category

B

target of the original morphism in the source category

F

mapping of objects. F[A, X] is evidence that object A of the source category is mapped to object X of the target category.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Type members

Types

type FA

Source of the mapped morphism. Object of the target category.

Source of the mapped morphism. Object of the target category.

Attributes

type FB

Target of the mapped morphism. Object of the target category.

Target of the mapped morphism. Object of the target category.

Attributes

Value members

Concrete methods

def >[C](that: MappedMorphism[->>, F, B, C])(using F: Functional[F], cat: Semigroupoid[->>]): MappedMorphism[->>, F, A, C]
def get[X, Y](fx: F[A, X], fy: F[B, Y])(using F: Functional[F]): X ->> Y

Abstract fields

val ff: FA ->> FB

The mapped morphism.

The mapped morphism.

Attributes

val srcMap: F[A, FA]

Evidence that the source FA of the mapped morphism is the image of the source A of the original morphism.

Evidence that the source FA of the mapped morphism is the image of the source A of the original morphism.

Attributes

val tgtMap: F[B, FB]

Evidence that the target FB of the mapped morphism is the image of the target B of the original morphism.

Evidence that the target FB of the mapped morphism is the image of the target B of the original morphism.

Attributes