SymmetricSemigroupalCategory

libretto.lambda.SymmetricSemigroupalCategory
See theSymmetricSemigroupalCategory companion object
trait SymmetricSemigroupalCategory[->[_, _], |*|[_, _]] extends SemigroupalCategory[->, |*|]

Attributes

Companion
object
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, -]
trait SymmetricMonoidalCategory[->, |*|, One]
trait Hoisted[G, ->, |*|]
Show all

Members list

Value members

Abstract methods

def swap[A, B]: (A |*| B) -> (B |*| A)

Concrete methods

def hoist[G[_]](using Applicative[G]): SymmetricSemigroupalCategory[[a, b] =>> G[a -> b], |*|]
def ix[A, B, C]: (A |*| B |*| C) -> (A |*| C |*| B)
def ixi[A, B, C, D]: (A |*| B |*| (C |*| D)) -> (A |*| C |*| (B |*| D))
def xi[A, B, C]: (A |*| (B |*| C)) -> (B |*| (A |*| 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