[erlang-questions] exception when no match found

Loïc Hoguin <>
Wed Jun 12 22:43:20 CEST 2013


(Sorry, failed to Reply All.)

A case is an expression, it returns a value. You can't have implicit 
clauses because the compiler can't guess what this value should be.

On 06/12/2013 09:30 PM, Tiago Cury wrote:
> I think that erlang would just bypass the entire case..of instead of throw an exception when no match found. It's can economize more lines of code.
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>


-- 
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu



More information about the erlang-questions mailing list