zio-codec
zio-codec copied to clipboard
Expand Equiv subtypes to include sum types up to arity 22
A sum type requires a fallible deconstructor and infallible constructor for each term. Or more if we want totality checking at compile-time.
The corresponding idea and prototype for product types is located here and can inform this issue.
I can prolly do this one.