jon stenerson
未读,2021年2月2日 22:31:592021/2/2登录即可回复作者
登录即可转发
您无权在此群组中删除帖子
要么此群组的电子邮件地址为匿名状态,要么您得查看成员电子邮件地址权限才能查看原始帖子
收件人 racket-users@googlegroups.com List
The previous message here prompts this ...
I have some modules with paths "A1.rkt" ... "An.rkt". In the interaction
window of DrRacket I can require any or all of them and I believe them
to be correct.
Now suppose I have a function (F) that produces one of those paths. I
try (dynamic-require (F) #f) and there are no errors but where do the
imports go? I don't seem able to access them.
However, I can do (define quux (dynamic-require (F) 'quux) ) and then
use quux. Is there a way to bring in all the exports of (F) without
knowing the names ahead of time?
Thanks,
Jon