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

Sounds sort of like the .mli files in Ocaml. As I understand it, the compiler uses (and enforces) the types found therein, though can infer a lot from the code in .ml files as well.


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

Search: