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

Don't know erlang, but why can't the first example be

foo(bar) -> void; foo(_Else) -> undefined;




It's an overly simplistic example.




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

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

Search: