by hellofunk · 9y ago · 0 comments
Ok, how? Other than an Ada example, or dependently-typed languages that aren't use in production, can you offer an example?
Every time someone gives you an answer, you modify the question to exclude it. Eventually you will have excluded everything that refutes the fallacy in your original post, but it is still there.
subset Positive of Int where * > -1
OTOH, while some Perl 6 supports some static type checking, subsets of this kind seem to support only dynamic, not static, enforcement.