Re: [racket-dev] using module system for alternate namespaces

2014-11-03 Thread Matthias Felleisen
On Oct 27, 2014, at 7:00 PM, Dan Liebgold wrote: I have a namespace behind a particular API. I'd love to hook into the module system to control compilation, visibility, etc. of all the definitions and references. Here's an example. 'a' is available in the top level module even though it

Re: [racket-dev] using module system for alternate namespaces

2014-11-03 Thread Dan Liebgold
Matthias - Hello... so, yes, Jay and I continued our discussion on the IRC channel. To answer your question, yes, the code as written should behave as it does. What I wanted was to make a not visible to the enclosing module unless it was exported via provide or an analogous operation. Jay's

Re: [racket-dev] using module system for alternate namespaces

2014-11-03 Thread Matthias Felleisen
On Nov 3, 2014, at 10:10 PM, Dan Liebgold wrote: Jay's idea was to use define to create a module binding from a to a generated or decorated name, provide a (or not), and put the generated name in the hash table. I'm pursuing that approach currently. Yeap, that would be the next idea (now