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

It's common in statically typed functional languages and an old notation. I believe a key motivation is the analogy between a Set and a Type. Then saying x : Int is like similar to saying x ∈ Z, x is an element of the integers.


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

Search: