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

Guards are mostly used to do pattern matching, not to specify which types a function accepts, though you can use them as such.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: