Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AREF and index out of bounds?

9 views
Skip to first unread message

Peter Seibel

unread,
Aug 31, 2003, 7:26:51 PM8/31/03
to
Is whether AREF signals an error when given invalid indices simply a
quality of implementation issue? I couldn't find anything in the
standard saying either "an error is signaled" or "an error should be
signaled".

-Peter

--
Peter Seibel pe...@javamonkey.com

Lisp is the red pill. -- John Fraser, comp.lang.lisp

Paul F. Dietz

unread,
Aug 31, 2003, 7:43:31 PM8/31/03
to Peter Seibel
Peter Seibel wrote:

> Is whether AREF signals an error when given invalid indices simply a
> quality of implementation issue? I couldn't find anything in the
> standard saying either "an error is signaled" or "an error should be
> signaled".

I don't believe a conforming implementation is required to signal an
error on invalid indices, even in safe code.

Paul

0 new messages