|
From: | Thomas Chust |
Subject: | Re: [Chicken-users] R6RS immutable pair |
Date: | Sun, 2 Jul 2006 23:27:23 +0200 |
On Sun, 2 Jul 2006, Kon Lovett wrote:
[...] Anybody want to way in on the proposed immutability of pairs? FWIW, I am ambivalent. My gut says NO but my heart says yes. This is the most serious suggested change, IMHO. It doesn't just "break some existing programs", it breaks with 50 years of lisp tradition. [...]
Hello,probably I would like it best to have two types of pairs: One association type with an immutable car but mutable cdr, and a list node type with both car and cdr mutable but where the cdr has to be another list node or '().
Anyway I'm not unhappy with the present behaviour which offers maximum flexibility. I think I could live with completely immutable pairs as well, though if it paid off in terms of efficiency. It would just be a rather drastical change...
cu, Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |