
To my inexpert eye it looks like the subset search (the aforementioned unordered set trick) is quadratic to solve — but at least not exponential, and perhaps not a problem with a typical number of error types in the set? (I also see it’s arbitrarily limited to 26 error types, because the tuple generics have to be done explicitly.)
score 1 · canonical
I didn’t know you could do that! Oh wait, you can’t yet, I guess — looks like that would require some features still in prototype stage (Generic Constant Arguments MVP)?
score 1 · canonical