libretto.lambda.Items1Named.Witness
See theWitness companion trait
object Witness
Attributes
Members list
Type members
Classlikes
case class Single[||[_, _], ::[_, _], Lbl <: String, A](lbl: SingletonType[Lbl]) extends Witness[||, ::, Lbl :: A]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class Snoc[||[_, _], ::[_, _], Init, Lbl <: String, A](init: Witness[||, ::, Init], lbl: SingletonType[Lbl]) extends Witness[||, ::, Init || (Lbl :: A)]
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Givens
Givens
given single[||[_, _], ::[_, _], Lbl <: String, A](using lbl: SingletonType[Lbl]): Witness[||, ::, Lbl :: A]
given snoc[||[_, _], ::[_, _], Init, Lbl <: String, A](using init: Witness[||, ::, Init], lbl: SingletonType[Lbl]): Witness[||, ::, Init || (Lbl :: A)]
In this article