guile-user
[Top][All Lists]
Advanced

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

Re: strange mkstemp! behavior


From: Marius Vollmer
Subject: Re: strange mkstemp! behavior
Date: Wed, 22 Sep 2004 02:56:55 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Stephen Compall <address@hidden> writes:

> address@hidden writes:
>
>> I'm not a schemer, but doesn't the above code violate the specs?
>> '(let ((name "/tmp/XXXXXX"))' binds 'name' to an inmutable string
>> (string constants are inmutable).
>
> You're right, but Guile treats them the same.  Maybe it was different
> in R4RS. [...]

It is very easy now to implement read-only strings in Guile.  Should
we do so?  String literals and the the strings returned by
symbol->string would be read-only.  Anything else?

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

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