You may be looking for `module->exports`:
https://docs.racket-lang.org/reference/Module_Names_and_Loading.html?q=module-%3Eexports#%28def._%28%28quote._~23~25kernel%29._module-~3eexports%29%29


On Wed, Feb 3, 2021 at 3:31 AM jon stenerson <[email protected]>
wrote:

> 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
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/333a9191-ae5e-6dd8-cebf-30bd00d87b9f%40comcast.net
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABNTSaH3dz_itNv79i5%3D6QXv9bBS8SBmX0NB9t1uS5EgE%2B%2Bv-A%40mail.gmail.com.

Reply via email to