to be able to generate one for a sealed class you’...
# language-proposals
p
to be able to generate one for a sealed class you’ll require a function where you pass a
SealedN<A, B, C…>
and a generator per subclass in the inheritance model