guile-user
[Top][All Lists]
Advanced

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

Re: stupid mail about letrec


From: Per Bothner
Subject: Re: stupid mail about letrec
Date: Mon, 25 Mar 2002 10:33:46 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020313

Thomas Bushnell, BSG wrote:
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.

But an error that implementations are not requied to detect.

And it is not unreasonable to consider this an implementation
extension.
--
        --Per Bothner
address@hidden   http://www.bothner.com/per/




reply via email to

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