3 ms·
There are some people around here that think a downvote is the appropriate answer to a post they disagree with, what's very unfortunate. Looks like I misunders
by marcosdumay 12y ago
There are some people around here that think a downvote is the appropriate answer to a post they disagree with, what's very unfortunate.
Looks like I misunderstood you, that's why my reply does not make much sense. But it is possible to verify such kind of constraints statically if you accept a certain amount of false errors, what all static type systems generate, to varying degrees.
Your example and the equivalent pycontract are static types that miss a static time verifier, not dynamic ones (pycontracts can only create static types AFAIK).