This is a good pitch and it should be implemented. Thank you.
However,
- I don't think it's important to make
Void Codable
, but I do think it's nonsensical forNever
to beCodable
otherwise, given that you can have a()
instance. (This will take more work, and shouldn't hold up the easy addition forNever
.)
If Never
conformed to all protocols, it would be a useful constraint to virtually remove the genericism of outer types, similar to what @bbrk24 mentions above. I don't think it's possible to find a conformance that won't be useful, and would also cause harm by being implicit. But I'm also not going to read through that whole thread and I think there's a good chance someone in there might have proved me wrong.