guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stupid mail about letrec


From: Marius Vollmer
Subject: Re: stupid mail about letrec
Date: 25 Mar 2002 19:50:27 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

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.

However, I think it is an interesting extension.  Internal defines
would behave more 'natural' that way.  It's probably better to define
a new letrec* form, tho, instead of changing the definition of letrec.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]