Hacker News new | past | comments | ask | show | jobs | submit login

Almost as though in order to maintain runtime type invariants on values you must use some kind of function to “construct” them...



Ada checks the ranges on types assigned to each other at compile time and then invariants on assignment and when passed as parameters. You can turn the runtime side of these checks on or off individually at the module level.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: