diff --git a/collects/scheme/enter.ss b/collects/scheme/enter.ss index b5417197a7..e08cfe159e 100644 --- a/collects/scheme/enter.ss +++ b/collects/scheme/enter.ss @@ -68,9 +68,8 @@ ;; Record module timestamp and dependencies: (let ([mod (make-mod name (get-timestamp path) - (call-with-values - (lambda () (module-compiled-imports code)) - append))]) + (apply append + (map cdr (module-compiled-imports code))))]) (hash-table-put! loaded path mod)) ;; Evaluate the module: (eval code))