Single

libretto.lambda.Member.Single
case class Single[||[_, _], ::[_, _], Label <: String, A](label: Label) extends Member[||, ::, Label, A, Label :: A]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Member[||, ::, Label, A, Label :: A]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited types

final type Type = A

Attributes

Inherited from:
Member

Value members

Concrete methods

override def asMultiple[Init, LZ, Z](using (Label :: A) =:= (Init || (LZ :: Z)), BiInjective[||], BiInjective[::]): Either[(Label, Label =:= LZ, A =:= Z), Member[||, ::, Label, A, Init]]

Attributes

Definition Classes
override def asSingle[LB, B](using ev: (Label :: A) =:= (LB :: B), inj: BiInjective[::]): (Label, Label =:= LB, A =:= B)

Attributes

Definition Classes
override def testEqual[Lbl2, B](that: Member[||, ::, Lbl2, B, Label :: A])(using BiInjective[||], BiInjective[::]): Option[A =:= B]

Attributes

Definition Classes

Inherited methods

def inInit[BLbl, B]: Member[||, ::, Label, A, Label :: A || (BLbl :: B)]

Attributes

Inherited from:
Member
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product