Automating Opaque Types with TaggedEnum?

Heya! I was curious if there was a way to automatically make opaque types with TaggedEnum?
image.png
Was this page helpful?