HandlersModule
libretto.lambda.EnumModule.HandlersModule
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Type members
Types
Value members
Concrete methods
Extensions
Extensions
extension [Cases, Init, ZLbl <: String, Z, R](b: Builder[Cases, Init || (ZLbl :: Z), R])
extension [Cases, Lbl <: String, A, R](b: Builder[Cases, Lbl :: A, R])
extension [Init, ZLbl <: String, Z](b: InitialBuilder[Init || (ZLbl :: Z)])
def caseOf[Lbl](using StaticValue[Lbl], Lbl =:= ZLbl): [R] => (Z -> R) => Builder[Init || (ZLbl :: Z), Init, R]
extension [Lbl <: String, A](b: InitialBuilder[Lbl :: A])
def caseOf[L](using StaticValue[L], L =:= Lbl, DummyImplicit): [R] => (A -> R) => Handlers[Lbl :: A, R]
In this article