How I can combine these three? I want to do something like this:
(define n (make-base-namespace))
(define p (build-path f))
(eval `(require ,p) n)
Racket doesn't like that: bad syntax for require sub-form because p is a
path-typed value.
Essentially, I want to inject the module at f into n so that the provided
identifiers of f are visible inside n. (I haven't been able to get
dynamic-require working either, nor is it an entirely satisfactory solution
because I may not always know what names f is providing.)
Thanks,
Shriram
--
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/978e4a26-d7fc-4e5d-aabe-6464a3181420n%40googlegroups.com.