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

Conceptually, you can think of a type as a set of values, but no, it’s not how static type-checking is implemented. Some sets are very large (consider the set of all JSON values) and enumerating them isn’t useful.


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

Search: