[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile: What's wrong with this?
From: |
Mike Gran |
Subject: |
Re: Guile: What's wrong with this? |
Date: |
Thu, 5 Jan 2012 17:02:44 -0800 (PST) |
> `define' merely makes a new reference to an existing object. If you
> want a copy, you must explicitly ask for one (though this could be
> hidden by custom syntax). It would not be desirable for the language to
> make copies automatically as part of the core `define' syntax. For one
> thing, sometimes you don't want a copy. Sometimes you want shared
> mutable objects.
It is curious that action of 'copy' really means the
action of 'create a copy with different properties'.
Shouldn't (string-copy "a") create another immutable string?
Likewise, shouldn't (substring "abc" 1) return an immutable substring?
- Re: Guile: What's wrong with this?, (continued)
- Re: Guile: What's wrong with this?, David Kastrup, 2012/01/04
- Re: Guile: What's wrong with this?, Ian Price, 2012/01/04
- Re: Guile: What's wrong with this?, Bruce Korb, 2012/01/04
- Re: Guile: What's wrong with this?, Mike Gran, 2012/01/04
- Re: Guile: What's wrong with this?, Mark H Weaver, 2012/01/04
- Re: Guile: What's wrong with this?, Bruce Korb, 2012/01/05
- Re: Guile: What's wrong with this?, Mark H Weaver, 2012/01/05
- Re: Guile: What's wrong with this?, Mark H Weaver, 2012/01/05
- Re: Guile: What's wrong with this?, David Kastrup, 2012/01/05
- Re: Guile: What's wrong with this?, Mark H Weaver, 2012/01/05
- Re: Guile: What's wrong with this?,
Mike Gran <=
- Re: Guile: What's wrong with this?, Mark H Weaver, 2012/01/05
- Re: Guile: What's wrong with this?, Noah Lavine, 2012/01/05
- Re: Guile: What's wrong with this?, Mike Gran, 2012/01/06
- Re: Guile: What's wrong with this?, David Kastrup, 2012/01/06
- Re: Guile: What's wrong with this?, Mark H Weaver, 2012/01/06
- Re: Guile: What's wrong with this?, Bruce Korb, 2012/01/06
- Re: Guile: What's wrong with this?, David Kastrup, 2012/01/06
- Re: Guile: What's wrong with this?, Mark H Weaver, 2012/01/06
- Re: Guile: What's wrong with this?, Mark H Weaver, 2012/01/07
- Re: mutable interfaces - was: Guile: What's wrong with this?, Bruce Korb, 2012/01/07