[erlang-questions] Package Support/Use
Kirill Zaborski
qrilka@REDACTED
Mon Nov 6 11:08:01 CET 2006
Where does this file come from? I do not see such a file in my Erlang
distribution...
On 11/6/06, Bengt Kleberg <bengt.kleberg@REDACTED> wrote:
>
> On 2006-11-06 10:20, Mats Cronqvist wrote:
> > Bob Ippolito wrote:
> >> It's clear that much of the standard library prefers to return tagged
> >> tuples instead of using exceptions.
> >
> > true enough. i believe rectifying this was one of the motivations
> behind the
> > rewrite of the standard libraries referred to earlier in this thread.
>
> you are correct. from the ''CONVENTIONS'' file:
>
> - A function should *not* return wrapped values like
> {ok,Value}/{error,Reason} to indicate success or
> failure. The assumed behaviour should be success,
> and failures should be signalled by exceptions,
> as described below.
>
>
> bengt
> --
> EPO guidelines 1978: "If the contribution to the known art resides
> solely in a computer program then the subject matter is not
> patentable in whatever manner it may be presented in the claims."
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20061106/d30b98b0/attachment.htm>
More information about the erlang-questions
mailing list