NarrowCategory

libretto.lambda.NarrowCategory
trait NarrowCategory[->[_, _], Obj[_]] extends Semigroupoid[->]

A category on a subset of Scala types.

Type parameters

->

morphism of the category

Obj

witnesses that a Scala type is an object of the category.

Attributes

Graph
Supertypes
trait Semigroupoid[->]
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def id[A](witness: Obj[A]): A -> A

Inherited and Abstract methods

def andThen[A, B, C](f: A -> B, g: B -> C): A -> C

Attributes

Inherited from:
Semigroupoid

Extensions

Inherited extensions

extension [A, B](f: A -> B)
def >[C](g: B -> C): A -> C

Attributes

Inherited from:
Semigroupoid
def from[Z](using Z =:= A): Z -> B

Attributes

Inherited from:
Semigroupoid
def to[C](using B =:= C): A -> C

Attributes

Inherited from:
Semigroupoid