Result of catch
Tue Mar 20 18:33:25 CET 2001
I asked this one a few months back. The answer was something to do with
order of evaluation.
A = (catch 1/0).
> 1> catch 1/0.
> 2> A = catch 1/0.
> ** 2: syntax error before: 'catch' **
> I'm a bit surprised by this behaviour. Why can't I store the
> result of a
> catch?? If I can match on it in a case statement, why can't I
> just store the
NOTICE AND DISCLAIMER:
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