Snd

libretto.lambda.Projection.Snd
case class Snd[|*|[_, _], A, P, Q](p2: Proper[|*|, P, Q]) extends Par[|*|, A, P, A, Q]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Par[|*|, A, P, A, Q]
trait Proper[|*|, A |*| P, A |*| Q]
trait Projection[|*|, A |*| P, A |*| Q]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

class FromPair[P1, P2](using ev: P =:= (P1 |*| P2))

Attributes

Inherited from:
Proper
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited methods

override def >[R](that: Projection[|*|, A |*| Q, R]): Proper[|*|, A |*| P, R]

Attributes

Definition Classes
Inherited from:
Proper
override def at[F[_]](f: Focus[|*|, F]): Proper[|*|, F[A |*| P], F[A |*| Q]]

Attributes

Definition Classes
Inherited from:
Proper
override def from[O](using ev: O =:= (A |*| P)): Proper[|*|, O, A |*| Q]

Attributes

Definition Classes
Inherited from:
Proper
def fromPair[P1, P2](using (A |*| P) =:= (P1 |*| P2)): FromPair[P1, P2]

Attributes

Inherited from:
Proper
override def inFst[X2]: Proper[|*|, A |*| P |*| X2, A |*| Q |*| X2]

Attributes

Definition Classes
Inherited from:
Proper
override def inSnd[X1]: Proper[|*|, X1 |*| A |*| P, X1 |*| A |*| Q]

Attributes

Definition Classes
Inherited from:
Proper
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
override def startsFromPair: Exists[[X1] =>> Exists[[X2] =>> (A |*| P) =:= (X1 |*| X2)]]

Attributes

Definition Classes
Par -> Proper
Inherited from:
Par
def switchFromPair[P1, P2, R](using ev: (A |*| P) =:= (P1 |*| P2))(caseDiscardFst: Projection[|*|, P2, A |*| Q] => R, caseDiscardSnd: Projection[|*|, P1, A |*| Q] => R, casePar: [Q1, Q2] => ((A |*| Q) =:= (Q1 |*| Q2)) ?=> Par[|*|, P1, P2, Q1, Q2] => R)(using BiInjective[|*|]): R

Attributes

Inherited from:
Proper
override def to[R](using ev: (A |*| Q) =:= R): Proper[|*|, A |*| P, R]

Attributes

Definition Classes
Inherited from:
Proper
def unpar: (Projection[|*|, A, A], Projection[|*|, P, Q])

Attributes

Inherited from:
Par