From ce86ad20a6ca852644b99b9d179a26a16943d8b7 Mon Sep 17 00:00:00 2001 From: "Taylor R. Campbell" Date: Fri, 26 Jan 2007 02:38:22 +0000 Subject: [PATCH] Use NAMED-LAMBDA in the output of named LET. --- v7/src/runtime/mit-syntax.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)) -- 2.25.1