catch not an rvalue

Chandrashekhar Mullaparthi Chandrashekhar.Mullaparthi@REDACTED
Tue Feb 19 17:28:25 CET 2002

X = (catch <risky expression>)

will work.


-----Original Message-----
From: Hal Snyder [mailto:hal@REDACTED]
Sent: 19 February 2002 16:22
To: erlang-questions@REDACTED
Subject: catch not an rvalue

Hope this isn't another RTFM, but I can't resist asking.
Am going through the puzzle box while home with the flu.

During prototyping, it would be nice to replace
  X = <risky expression>
  X = catch <risky expression>
but the shell (and compiler) don't like that.


This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.

More information about the erlang-questions mailing list