Hi, szgyg <[EMAIL PROTECTED]> writes:
> No, (read) should return mutable string. > > "literal constants and the strings returned by symbol->string are > immutable objects, while all objects created by the other procedures > listed in this report are mutable." [3] > > So scm_read_string() should behave differently when reads program and data. ... which doesn't sound convenient, *sigh*. Technically, strings in Guile all live in writable memory, so it may actually be wiser to just live with that. FWIW, the interpreters of Ikarus and Bigloo consider literal strings writable. Should we just revert the patch, or does anyone have a better idea? Thanks, Ludo'.
