That boundary validation is where that kind of reflection would be useful! And it's a problem that (nearly) every useful application has to face.
Well that, and getting rid of the silly "must be able to strip types without processing them" design ideology would also enable stuff like typeclasses.
Well that, and getting rid of the silly "must be able to strip types without processing them" design ideology would also enable stuff like typeclasses.