Richard Carlsson richardc@REDACTED
Tue Oct 21 20:43:50 CEST 2003

----- Original Message ----- 
From: "Sean Hinde" <sean.hinde@REDACTED>
To: "Erlang Questions" <erlang-questions@REDACTED>
Sent: Tuesday, October 21, 2003 8:25 PM
Subject: Try/Cond

> I have heard and read much about the possible arrival of try/cond to
> the language. Can anyone shed any light on how it would be intended to
> work?

Basically, like "if" but with any boolean expressions instead of just
(I once tried to suggest that the if-expression should be generalized,
instead of
adding a keyword like "cond", but that sort of change scared too many

The current status is that it turned out that Erlang's scoping rules made it
than we had expected to implement "cond" correctly (i.e., it's not just a
expansion into a nested case statement), so it was postponed until someone
with a lot of spare time could have another look at it.


More information about the erlang-questions mailing list