Allows to specify a Coproduct
type with a syntax similar to Record
and Union
, as follows,
Allows to specify a Coproduct
type with a syntax similar to Record
and Union
, as follows,
type ISB = Coproduct.`Int, String, Boolean`.T
Literal types are allowed, so that the following is valid,
type ABC = Coproduct.`'a, 'b, 'c`.T type TwoTrueStr = Coproduct.`2, true, "str"`.T