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

Both :) You can pattern match in function head (definition)

http://elixir-lang.org/getting-started/pattern-matching.html




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

Search: