[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stupid mail about letrec
From: |
Neil Jerram |
Subject: |
Re: stupid mail about letrec |
Date: |
25 Mar 2002 19:48:13 +0000 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
>>>>> "Marius" == Marius Vollmer <address@hidden> writes:
Marius> address@hidden (Thomas Bushnell, BSG) writes:
>> Sven Hartrumpf <address@hidden> writes:
>>
>> > >So chicken and MIT-scheme don't give you an error for the letrec
>> > >expression that you quoted before?
>> >
>> > No, all return 8 for (letrec ((a 2) (b (* a 4))) b).
>> > Also mzscheme, bigloo, chez, sisc, scsh, gauche, gambit.
>> > Only SCM behaves like guile.
>> > This might make an interesting posting in comp.lang.scheme :-)
>>
>> Yes, but it is an error nontheless.
Marius> However, I think it is an interesting extension. Internal defines
Marius> would behave more 'natural' that way. It's probably better to
define
Marius> a new letrec* form, tho, instead of changing the definition of
letrec.
I'm pretty sure there was a big discussion about this a few years ago.
Neil