projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b90e9
)
Eliminate redundant code in cons-stream*.
author
Chris Hanson
<org/chris-hanson/cph>
Fri, 30 Mar 2018 05:57:27 +0000
(22:57 -0700)
committer
Chris Hanson
<org/chris-hanson/cph>
Fri, 30 Mar 2018 05:57:27 +0000
(22:57 -0700)
src/runtime/mit-macros.scm
patch
|
blob
|
history
diff --git
a/src/runtime/mit-macros.scm
b/src/runtime/mit-macros.scm
index 95582ccb0d0402ecaec1d1180c0f02b29e69f487..0e2d7211130bb4d7c0df9476b9ec8d676e16f75b 100644
(file)
--- 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)