> Just wondering, is this necessary because it's impossible to list the
> function clauses or because there's no straightforward way to turn a
> function clause into one hand of a pattern match?
>

It is necessary if we want to do things such as "diffing". For example, if
we can't match a clause because a map is missing a field, we should tell
the field that is missing when we implement such feature. This "diffing" or
"explaining" requires reimplementing pattern matching.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4KtuWGrhiFb6f6nEur2yLAeSjnrU7eOpLoSz%2BhuWq%2BNRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to