[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Unmentioned deviation from R5RS?
From: |
Yi DAI |
Subject: |
[Chicken-users] Unmentioned deviation from R5RS? |
Date: |
Wed, 30 Dec 2009 14:46:22 +0800 |
Hi, All,
I recently found a deviation from the R5RS in CHICKEN which is not mentioned in the user manual. In R5RS section 3.4, it states as follows:
In such systems 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. It is an error to attempt to store a new value into a location that is denoted by an immutable object.
However, I found that in CHICKEN, the string returned by symbol->string is mutable via string-set!. According to the lines above, "it is an error", thus CHICKEN simply choose not to report it and silently perform the erroneous operation?
regards,
--
DAY
- [Chicken-users] Unmentioned deviation from R5RS?,
Yi DAI <=