[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: things are eq? but not generated at the same time
From: |
Chris K. Jester-Young |
Subject: |
Re: things are eq? but not generated at the same time |
Date: |
Tue, 11 Sep 2012 13:06:59 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Sep 05, 2012 at 08:24:58PM +0100, Ian Price wrote:
> I, of course, meant vector literals, but a quick test shows this is not
> the case.
Literals are always immutable, and trying to modify them is nasal demon
stuff. Of course, R6RS says implementations "should" raise an exception
when an attempt is made to modify an immutable object, so perhaps that
is something we should consider.
Related: http://stackoverflow.com/a/12332939/13
Cheers,
Chris.