gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] string is not vector of character


From: Camm Maguire
Subject: Re: [Gcl-devel] string is not vector of character
Date: 09 Aug 2005 01:06:31 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings, and thanks as always!  Committed the note as you suggested.

Take care,

"Paul F. Dietz" <address@hidden> writes:

> Camm Maguire wrote:
> 
> > Greetings!  cmucl and clisp both seem to fail this too.  Is string
> > supposed to be `(or (vector standard-char) (vector base-char) (vector
> > extended-char) (vector character))?
> 
> The three tests string-is-not-vector-of-character.[135]
> have the note :nil-vectors-are-strings.  This note indicates
> the test is assuming that (vector nil) is a valid type,
> that (upgraded-array-element-type nil) == nil, and that
> (vector nil) is a subtype of string.
> 
> What this means is that you can't assume that every string
> has the same underlying element type, since there are at
> least two cases that must differ: (vector character)
> and (vector nil).
> 
> This is not terribly important to implement.  If you want
> to disable these tests, add
> 
> #+gcl (rt::disable-note :nil-vectors-are-strings)
> 
> somewhere (the end of notes.lsp, say).
> 
> 
>       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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]