gcl-devel
[Top][All Lists]
Advanced

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

[Gcl-devel] Re: setf bug


From: Camm Maguire
Subject: [Gcl-devel] Re: setf bug
Date: 07 Mar 2006 20:39:46 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings, and thanks!  Should be fixed now.

Take care,


Robert Boyer <address@hidden> writes:

> Here's a bug in setf.
> 
> In GCL,
> 
>   (setf (subseq "xyz" 0 1) "b") => "byz"
> 
> but the correct return value is "b", or at least so say, Allegro, CMU, and
> Clisp.
> 
> The ANSI examples certainly also suggest that GCL is incorrect, e.g.,
> 
>  (setq str "012345") => "012345"
>  (setf (subseq str 4) "abc") => "abc"
> 
>  But GCL returns "0123ab".
> 
> Bob
> 
> 
> 

-- 
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]