fixed PR9806 and PR9807
svn: r11940
This commit is contained in:
parent
9c92ce8cc9
commit
062152e711
|
@ -40,7 +40,8 @@
|
|||
(apply simplify-path (regexp-replace*
|
||||
#rx"/" (if (path? p) (path->string p) p) "\\\\")
|
||||
more))
|
||||
(compose simplify-path expand-path*)))
|
||||
(lambda (p . more)
|
||||
(apply simplify-path (expand-path* p) more))))
|
||||
|
||||
(define directory-exists*? (compose directory-exists? expand-path*))
|
||||
(define file-exists*? (compose file-exists? expand-path*))
|
||||
|
|
|
@ -247,13 +247,9 @@
|
|||
(lambda args (f (apply g args))))
|
||||
(if (eqv? 1 (procedure-arity g)) ; optimize: single input
|
||||
(lambda (a)
|
||||
(call-with-values
|
||||
(lambda () (g a))
|
||||
f))
|
||||
(call-with-values (lambda () (g a)) f))
|
||||
(lambda args
|
||||
(call-with-values
|
||||
(lambda () (apply g args))
|
||||
f)))))]
|
||||
(call-with-values (lambda () (apply g args)) f)))))]
|
||||
[(f . more)
|
||||
(if (procedure? f)
|
||||
(let ([m (apply compose more)])
|
||||
|
|
Loading…
Reference in New Issue
Block a user