Ideas around anonymous enum types

It certainly wouldn't be doable in a naive way in general, but FWIW according to this old post they are merged for nested Option at least: