Eliminate now-unused output/lambda and rename output/{named-,}lambda.
authorChris Hanson <org/chris-hanson/cph>
Sat, 10 Feb 2018 04:48:23 +0000 (20:48 -0800)
committerChris Hanson <org/chris-hanson/cph>
Sat, 10 Feb 2018 04:48:23 +0000 (20:48 -0800)
src/runtime/mit-syntax.scm
src/runtime/runtime.pkg
src/runtime/syntax-output.scm

index b0d813a4d83e00323df6e1001fa7b24f98180ac3..0668f992a03c23a330f66865143e93a45ae8d94c 100644 (file)
@@ -74,9 +74,9 @@ USA.
           (map-mit-lambda-list (lambda (identifier)
                                  (bind-variable identifier senv))
                                bvl)))
-      (output/named-lambda name
-                          bvl
-                          (compile-body-item (classify-body body senv))))))
+      (output/lambda name
+                    bvl
+                    (compile-body-item (classify-body body senv))))))
 
 (define (compile-body-item item)
   (output/body (compile-body-items (item->list item))))
index b06f3b4867f058cce0f35722472a526cc99747d2..3adfca4c5b4ed93c5bb52b3bd67b1d27f54a600d 100644 (file)
@@ -4505,7 +4505,6 @@ USA.
          output/lambda
          output/let
          output/letrec
-         output/named-lambda
          output/quoted-identifier
          output/runtime-reference
          output/sequence
index dcbdafed2a1174461d48740a41d73c86e649bfba..e14d3591108030b4b1e6ce466617bac35f1f9008 100644 (file)
@@ -76,10 +76,7 @@ USA.
 (define (output/combination operator operands)
   (make-scode-combination operator operands))
 
-(define (output/lambda lambda-list body)
-  (output/named-lambda scode-lambda-name:unnamed lambda-list body))
-
-(define (output/named-lambda name lambda-list body)
+(define (output/lambda name lambda-list body)
   (call-with-values (lambda () (parse-mit-lambda-list lambda-list))
     (lambda (required optional rest)
       (make-lambda* name required optional rest body))))
@@ -97,7 +94,7 @@ USA.
   unspecific)
 \f
 (define (output/let names values body)
-  (output/combination (output/named-lambda scode-lambda-name:let names body)
+  (output/combination (output/lambda scode-lambda-name:let names body)
                      values))
 
 (define (output/letrec names values body)