From 1ef80097ba5f82f0209a8c795d3cf833b6ed52b7 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 29 Mar 2018 22:57:27 -0700 Subject: [PATCH] Eliminate redundant code in cons-stream*. --- src/runtime/mit-macros.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/runtime/mit-macros.scm b/src/runtime/mit-macros.scm index 95582ccb0..0e2d72111 100644 --- a/src/runtime/mit-macros.scm +++ b/src/runtime/mit-macros.scm @@ -660,9 +660,7 @@ USA. (delay (scons-rule `((+ any)) (lambda (exprs) - (if (pair? (cdr exprs)) - (car exprs) - (reduce-right scons-stream unspecific exprs))))))) + (reduce-right scons-stream unspecific exprs)))))) (define (scons-stream expr1 expr2) (scons-call (scons-close 'cons) -- 2.25.1