Lift out the recursive call, since that'll be shared across all substitutions.
original commit: f68efe9e317a53de87a4acb7e15875f4364044b7
This commit is contained in:
parent
156c0d0d38
commit
f939f616f5
|
@ -63,7 +63,8 @@
|
|||
(make-arr (append
|
||||
(map sb dom)
|
||||
;; 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)
|
||||
#f
|
||||
#f
|
||||
|
|
Loading…
Reference in New Issue
Block a user