Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

http://faculty.cs.wwu.edu/reedyc/AdaResources/bookhtml/ch05....

Ada, and probably other languages, allows subtypes that restrict usage to a range of some other type. 2 sections below that is modular types, so you don't have to put in the `mod 500` or whatever your code needs every time, the compiler will fill that in for you as long as you are using that type.



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

Search: