[plt-scheme] Native code generation and immutable pairs
From: Lauri Alanko (la at iki.fi)
Date: Fri Mar 10 00:03:38 EST 2006 |
|
On Thu, Mar 09, 2006 at 08:48:50PM -0800, Jim Blandy wrote:
> On 3/9/06, Chongkai Zhu <u0476504 at utah.edu> wrote:
> > Could you please explain why "dumping `set-car!' and `set-cdr!' is a
> > good idea"? Thank you.
>
> My reasons, at least, are given in these messages:
So what exactly are you proposing? cons-immutable is available already
for anyone wanting to use it. Making the procedure named "cons" produce
immutable pairs by default would break half the world and then some.
Are you proposing that a new non-R5RS dialect be included in the core
PLT distribution with more ML-ish default data types, and people be
encouraged to use it in future code? Or what?
Lauri