ClosedSemigroupalCategory

libretto.lambda.ClosedSemigroupalCategory
trait ClosedSemigroupalCategory[->[_, _], |*|[_, _], -->[_, _]] extends SemigroupalCategory[->, |*|]

Attributes

Graph
Supertypes
trait SemigroupalCategory[->, |*|]
trait Category[->]
trait Semigroupoid[->]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait ClosedSymmetricMonoidalCategory[-⚬, |*|, One, =⚬]
trait InversiveSemigroupalCategory[->, |*|, -]
trait InversiveMonoidalCategory[->, |*|, One, -]

Members list

Value members

Abstract methods

def curry[A, B, C](f: (A |*| B) -> C): A -> (B --> C)
def eval[A, B]: ((A --> B) |*| A) -> B

Concrete methods

def uncurry[A, B, C](f: A -> (B --> C)): (A |*| B) -> C

Inherited methods

def fst[X, Y, Z](f: X -> Y): (X |*| Z) -> (Y |*| Z)

Attributes

Inherited from:
SemigroupalCategory
def snd[X, Y, Z](f: Y -> Z): (X |*| Y) -> (X |*| Z)

Attributes

Inherited from:
SemigroupalCategory

Inherited and Abstract methods

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

Attributes

Inherited from:
Semigroupoid
def assocLR[A, B, C]: (A |*| B |*| C) -> (A |*| (B |*| C))

Attributes

Inherited from:
SemigroupalCategory
def assocRL[A, B, C]: (A |*| (B |*| C)) -> (A |*| B |*| C)

Attributes

Inherited from:
SemigroupalCategory
def id[A]: A -> A

Attributes

Inherited from:
Category
def par[A1, A2, B1, B2](f1: A1 -> B1, f2: A2 -> B2): (A1 |*| A2) -> (B1 |*| B2)

Attributes

Inherited from:
SemigroupalCategory

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
extension [A, B](f: A -> B)
def at[F[_]](pos: Focus[|*|, F]): F[A] -> F[B]

Attributes

Inherited from:
SemigroupalCategory
def inFst[X]: (A |*| X) -> (B |*| X)

Attributes

Inherited from:
SemigroupalCategory
def inSnd[X]: (X |*| A) -> (X |*| B)

Attributes

Inherited from:
SemigroupalCategory