[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] IRe: arrays
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] IRe: arrays |
Date: |
26 Sep 2005 13:05:51 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Greetings!
"Paul F. Dietz" <address@hidden> writes:
> Camm Maguire wrote:
> > Greetings!
> > What is '(array nil) suposed to mean?
>
> It's the type of arrays with element type nil.
>
> These arrays are specialized to hold nothing at all.
> Weird, but since (upgraded-array-element-type nil) is required
> to be nil, the type has to exist.
>
> It's probably a spec bug that this is the case. There's
> a note, :allow-nil-arrays, that should be attached to all
> tests involving this type. Go ahead and disallow tests
> with this note for gcl if you'd like.
>
Just a followup observation here -- I've added the note, but something
is still throwing nil array types in the test suite, forcing me to use
the following workaround at present:
gcl_predlib.lsp:
(defconstant +array-types+ (si::aelttype-list))
(defconstant +array-types-with-nil-for-ansi+ (append '(nil) +array-types+))
If this is ever tracked down and fixed, please let me know and I'll
remove the latter constant.
Take care,
> Paul
>
>
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gcl-devel
>
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah