[ sisc-Bugs-1320475 ] bulk character i/o breaks immutability

"SourceForge.net" <[email protected]> Sun, 09 Oct 2005 08:23:04 -0700
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
Bugs item #1320475, was opened at 2005-10-09 16:23
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1320475&group_id=23735

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 6
Submitted By: Matthias Radestock (mradestock)
Assigned to: Nobody/Anonymous (nobody)
Summary: bulk character i/o breaks immutability

Initial Comment:
The |read-string| bulk character i/o procedure does not
respect immutability:

SISC (1.12.0-alpha) - main
#;> (define s "foo")
#;> (string-set! s 0 #\a)
Error in string-set!: string is immutable.
console:2:1: <from call to string-set!>
#;> (import string-io)
#;> (with-input-from-string "a" (lambda () (read-string
s 0 1)))
1
#;> (write s)
"aoo"


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379534&aid=1320475&group_id=23735


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl