Lift out the recursive call, since that'll be shared across all substitutions.
This commit is contained in:
parent
51ec643172
commit
f68efe9e31
|
@ -63,7 +63,8 @@
|
||||||
(make-arr (append
|
(make-arr (append
|
||||||
(map sb dom)
|
(map sb dom)
|
||||||
;; We need to recur first, just to expand out any dotted usages of this.
|
;; We need to recur first, just to expand out any dotted usages of this.
|
||||||
(map (lambda (img) (substitute img name (sb (car drest)))) images))
|
(let ([expanded (sb (car drest))])
|
||||||
|
(map (lambda (img) (substitute img name expanded)) images)))
|
||||||
(sb rng)
|
(sb rng)
|
||||||
#f
|
#f
|
||||||
#f
|
#f
|
||||||
|
|
Loading…
Reference in New Issue
Block a user