From: Chris Hanson Date: Fri, 30 Mar 2018 05:57:27 +0000 (-0700) Subject: Eliminate redundant code in cons-stream*. X-Git-Tag: mit-scheme-pucked-x11-0.3.1~7^2~151 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=1ef80097ba5f82f0209a8c795d3cf833b6ed52b7;p=mit-scheme.git Eliminate redundant code in cons-stream*. --- 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)