From: Taylor R. Campbell Date: Fri, 26 Jan 2007 02:38:22 +0000 (+0000) Subject: Use NAMED-LAMBDA in the output of named LET. X-Git-Tag: 20090517-FFI~749 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=ce86ad20a6ca852644b99b9d179a26a16943d8b7;p=mit-scheme.git Use NAMED-LAMBDA in the output of named LET. --- diff --git a/v7/src/runtime/mit-syntax.scm b/v7/src/runtime/mit-syntax.scm index 91376492b..33d48bf66 100644 --- a/v7/src/runtime/mit-syntax.scm +++ b/v7/src/runtime/mit-syntax.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: mit-syntax.scm,v 14.29 2007/01/05 21:19:28 cph Exp $ +$Id: mit-syntax.scm,v 14.30 2007/01/26 02:38:22 riastradh Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -413,7 +413,8 @@ USA. (bindings (caddr form)) (body (cdddr form))) `((,(rename 'LETREC) - ((,name (,(rename 'LAMBDA) ,(map car bindings) ,@body))) + ((,name (,(rename 'NAMED-LAMBDA) (,name ,@(map car bindings)) + ,@body))) ,name) ,@(map (lambda (binding) (if (pair? (cdr binding))