.
original commit: 2f7de086cea2d2de6a3ca9bd8c0c304a4cd05027
This commit is contained in:
parent
21f577da9a
commit
4a9dac7b9c
|
@ -17,11 +17,12 @@
|
|||
(lambda () (set! tab (string-append " " tab)))
|
||||
(lambda ()
|
||||
(if (regexp-match "_loader" filename)
|
||||
(let ([f (load filename)])
|
||||
(lambda (sym expected-module)
|
||||
(let ([f (load filename #f)])
|
||||
(lambda (sym)
|
||||
(fprintf ep
|
||||
"~atrying ~a's ~a~n" tab filename sym)
|
||||
(let ([loader (f sym expected-module)])
|
||||
(let-values ([(loader provided-module) (f sym)])
|
||||
(values
|
||||
(and loader
|
||||
(lambda ()
|
||||
(fprintf ep
|
||||
|
@ -37,7 +38,8 @@
|
|||
(fprintf ep
|
||||
"~adone ~a's ~a at ~a~n"
|
||||
tab filename sym
|
||||
(current-process-milliseconds)))))))))
|
||||
(current-process-milliseconds))))))
|
||||
provided-module))))
|
||||
(load filename expected-module)))
|
||||
(lambda () (set! tab s))))
|
||||
(fprintf ep
|
||||
|
|
Loading…
Reference in New Issue
Block a user