[erlang-questions] Erlang 3000?
Dave Smith
dave.smith.to@REDACTED
Mon Nov 17 22:10:22 CET 2008
2008/11/17 Bengt Kleberg <bengt.kleberg@REDACTED>
> Perhaps somebody would care to post another example since this one is
> very easy to make un-strange:
>
> case X > 39 of
> true ->
> false ->
> end
>
Example:
if X > 39 -> ...;
X > 29 -> ...;
true -> ...
end
case true of
true when X > 39 -> ...;
true when X > 29 -> ...; true -> ...
end
case X > 39 of
true -> ...; false ->
case X > 29 of
true -> ...; false -> ...
end
end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20081117/8e69153e/attachment.htm>
More information about the erlang-questions
mailing list