bug-guile
[Top][All Lists]
Advanced

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

string-set! examples in r5rs.html


From: Bill Schottstaedt
Subject: string-set! examples in r5rs.html
Date: Fri, 19 Sep 2008 13:31:16 -0700

according to r5rs.html, these should signal an error, I believe:

guile> (string-set! (symbol->string 'immutable)
             0
             #\?)
guile> (define (g) "***")
guile> (string-set! (g) 0 #\?)
guile> (g)
"?**"







reply via email to

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