Coproduct
Have you ever found yourself in a situation where you'd like to have two enums where only a few variants differ? Usually that involves a lot of duplication and boilerplate. Not any more! Coproducts allow you to describe them and convert between them effortlessly!
use ;
;
;
;
;
type ABC = MkUnion!;
Find out more in the documentation.