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

Erlang has both methods, pattern matching in function definition and case-clause pattern matching.

(some random link http://stackoverflow.com/questions/1050913/erlang-style-case...)



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

Search: