From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: stupid mail about letrec Date: 25 Mar 2002 19:48:13 +0000 Sender: guile-user-admin@gnu.org Message-ID: References: <20020325.140227.71101513.Sven.Hartrumpf@FernUni-Hagen.de> <87vgbk1vqw.fsf@becket.becket.net> <87u1r4zdl8.fsf@zagadka.ping.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1017095004 19376 127.0.0.1 (25 Mar 2002 22:23:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2002 22:23:24 +0000 (UTC) Cc: tb@becket.net (Thomas Bushnell, BSG), Sven Hartrumpf , guile-user@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16pcs7-00052P-00 for ; Mon, 25 Mar 2002 23:23:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16pcpt-0006YP-00; Mon, 25 Mar 2002 17:21:05 -0500 Original-Received: from mail.uklinux.net ([80.84.72.21] helo=s1.uklinux.net) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16pcJ9-0004lq-00 for ; Mon, 25 Mar 2002 16:47:16 -0500 Original-Received: from portalet.ossau.uklinux.net (ppp-4a-43.3com.telinco.net [212.159.134.43]) by s1.uklinux.net (8.11.6/8.11.6) with ESMTP id g2PLkeK21814; Mon, 25 Mar 2002 21:46:41 GMT Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (neil@laruns.ossau.uklinux.net [192.168.1.3]) by portalet.ossau.uklinux.net (8.9.3/8.8.7) with ESMTP id TAA17621; Mon, 25 Mar 2002 19:51:13 GMT Original-To: Marius Vollmer In-Reply-To: <87u1r4zdl8.fsf@zagadka.ping.de> Original-Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:60 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:60 >>>>> "Marius" == Marius Vollmer writes: Marius> tb@becket.net (Thomas Bushnell, BSG) writes: >> Sven Hartrumpf 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 _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user