[erlang-questions] Illegal Guard?

Theepan <>
Sun Feb 14 01:12:37 CET 2016


>
> > Why do you think "f(X, Y) when U = X+Y, U > 0 ; V = Y*X, V < 0 ->" is
> > wrong?
>
> Because the language specification and the compiler say it is.
>
>
Rewording my question :) - why it is wrong to allow such guard expressions
at the compiler level?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160214/2917bf0c/attachment.html>


More information about the erlang-questions mailing list