Single
libretto.lambda.DistributionNAry.DistLR.Single
case class Single[**[_, _], ||[_, _], ::[_, _], A, Lbl <: String, B](label: SingletonType[Lbl]) extends DistLR[**, ||, ::, A, Lbl :: B]
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Types
Value members
Concrete methods
override def distributeOver[N, I](m: Member[||, ::, N, I, Lbl :: B])(using BiInjective[||], BiInjective[::]): Member[||, ::, N, A ** I, Out]
Attributes
- Definition Classes
Attributes
- Definition Classes
override def separately[A1, A2](using A =:= (A1 ** A2)): Exists[[A2Cases] =>> Exists[[A12Cases] =>> (DistLR[**, ||, ::, A2, Lbl :: B] { type Out = A2Cases; }, DistLR[**, ||, ::, A1, A2Cases] { type Out = A12Cases; }, Named[||, ::, [x, y] =>> Exists[[b] =>> (x =:= (A1 ** (A2 ** b)), (A1 ** A2 ** b) =:= y)], A12Cases, Lbl :: (A ** B)])]]
Attributes
- Definition Classes
Inherited methods
def extend[Lbl <: String, Z](lbl: SingletonType[Lbl]): DistLR[**, ||, ::, A, Lbl :: B || (Lbl :: Z)] { type Out = Out || (Lbl :: (A ** Z)); }
Attributes
- Inherited from:
- DistLR
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article