Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
daxfohl
· 10y ago · 0 comments
Isn't that more an example of `multiple dispatch` rather than `pattern matching`?
Comments
[–]
muhmi
10y ago
Both :) You can pattern match in function head (definition)
http://elixir-lang.org/getting-started/pattern-matching.html
[–]
sergiotapia
10y ago
In Elixir land it's been taught to me as pattern matching. I have never heard of `multiple dispatch`.