bug-guile
[Top][All Lists]
Advanced

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

Re: null string oddities


From: Ludovic Courtès
Subject: Re: null string oddities
Date: Tue, 02 Dec 2008 20:02:16 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Hello,

"Bill Schottstaedt" <address@hidden> writes:

> I thought it odd that:
>
> guile> (string-length "")
> 0
> guile> (string-ref "" 3)
> #\nul
>
> but:
>
> guile> (string-set! "" 123 #\a)
> guile> (string-ref "" 123)
> #\a

I fixed it, will be in the forthcoming 1.8.6.

  
http://git.savannah.gnu.org/gitweb/?p=guile.git;a=commitdiff;h=3ae3166b2307ee8588aa9b422764b486ed02ad09

Thanks,
Ludo'.





reply via email to

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