Hi,

R5RS "4.1.2 Literal expressions" says:
As noted in section 3.4, it is an error to alter a constant (i.e. the value of 
a literal expression)
using a mutation procedure like set-car! or string-set!.


I test the expression (set-car! '(1 2 3) 4) is ok in several implementations 
include DrScheme.
I think '(1 2 3) here is a literal expression, why it can be changed? 


Thanks
Dustin Zheng
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to