Use NAMED-LAMBDA in the output of named LET.
authorTaylor R. Campbell <net/mumble/campbell>
Fri, 26 Jan 2007 02:38:22 +0000 (02:38 +0000)
committerTaylor R. Campbell <net/mumble/campbell>
Fri, 26 Jan 2007 02:38:22 +0000 (02:38 +0000)
v7/src/runtime/mit-syntax.scm

index 91376492bf0d1261ac65326ecb323a199b703f35..33d48bf6613678b19159f0e6216475b07d3e73a2 100644 (file)
@@ -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))