Hacker News new | ask | show | jobs
by muhmi 3590 days ago
Both :) You can pattern match in function head (definition)

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