[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Scheme-reports] "It is an error" is misleading



Hello,

On Fri, Nov 16, 2012 at 7:50 AM, Vassil Nikolov <vnikolov@x> wrote:


Helmut Eller <eller.helmut@x> wrote:

> ...
> However the meaning of "it is an error" in R7RS is the same as "it is
> unspecified".

  "Undefined", not "unspecified".

  This use of "it is an error" is well established.

That is true, but it is nevertheless confusing that there are two concepts in the standard called "error", and they are very different - the error objects/exception system and unspecified behavior. It took me a little while to figure out what was going on.

Perhaps the authors think that "it is a user error to use this behavior", at least from the standpoint of R7RS-small. That may be true, but that would be easy to infer if the standard said "undefined", and it would prevent a casual reader from seeing "error" and thinking of error objects.

Noah Lavine

_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports