[erlang-questions] eep: multiple patterns

Robert Virding <>
Fri May 23 13:24:26 CEST 2008

2008/5/23 Mats Cronqvist <>:

> Robert Virding wrote:
>> I don't have a problem with this, but I don't really see the need. The
>> only time I have had repeated bodies they have been very simple no repeating
>> just them has been very straight forward.
> [...]
>  i read the above as "i've never needed this myself, so it must be
> unnecessary."
>  let me assure you that there are major telecom equipment vendors whose
> code bases would benefit greatly from this syntax.

No, I meant my comment literally. It is not a problem that *I* have had so
*I* don't see the need. If others have trouble with this then *they* see the
need. So be it.

I accept the suggestion. But allowing = in guards really makes it

In your example it could actually only be used in 1 place.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080523/bae14d7b/attachment.html>

More information about the erlang-questions mailing list