PairwiseRel

libretto.lambda.PairwiseRel
trait PairwiseRel[|*|[_, _], <*>[_, _], F[_, _]]

Type parameters

<*>

monoidal product in the target "category"

F

relation on objects. f: F[A, X] means that object A of the source "category" is related to object X in the target "category".

|*|

monoidal product in the source "category"

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SemigroupalObjectMap[|*|, <*>, F]
trait MonoidalObjectMap[F, |*|, One, <*>, Unit]

Members list

Type members

Classlikes

object Unpaired

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Unpaired.type
sealed trait Unpaired[A1, A2, X]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Impl[A1, A2, T1, T2]

Value members

Abstract methods

def pair[A1, A2, X1, X2](f1: F[A1, X1], f2: F[A2, X2]): F[A1 |*| A2, X1 <*> X2]
def unpair[A1, A2, X](f: F[A1 |*| A2, X]): Unpaired[A1, A2, X]