Re: [racket-users] Re: Is it possible to make submodules with private names?

2020-05-23 Thread rocketnia
Thanks everyone for the perspectives and techniques you've offered so far. I've found a flaw in my gensym technique, even at the command line. If I run "raco make badlang.rkt", "raco make badlibrary.rkt", and "raco make client.rkt", the last command has an error. That's because the gensym is

Re: [racket-users] Re: Is it possible to make submodules with private names?

2020-05-23 Thread Philip McGrath
On Sat, May 23, 2020 at 5:04 PM Simon Schlee wrote: > I also would find it interesting to have something functor like, in the > sense of being able to create parameterized module instances. > My guess is that constructs like that are difficult to optimize and the > separation between runtime and

[racket-users] Re: Is it possible to make submodules with private names?

2020-05-23 Thread Simon Schlee
I think pollen uses racket's compiled directories to store some of its own cached/generated code, maybe a similar technique could be helpful for you. Do you want to create submodules for arbitrary modules or only for modules using a certain library or language? When its the latter I think its a