[erlang-questions] eep: multiple patterns
Andras Georgy Bekes
bekesa@REDACTED
Tue May 27 14:40:49 CEST 2008
> case bla of
> Pat when true ->;
> Pat when false->;
> Pat ->
> code()
> end.
>
> but that's not what he wrote...
> in that case i propose the above. currently gives syntax error.
What about:
case bla of
Pat when true \/
Pat when false \/
Pat ->
Never seen similar notation in other languages, but it should not be a
problem :-)
Georgy
More information about the erlang-questions
mailing list