Exporting a Module Instance Object

2013-12-09 Thread Kevin Smith
Is it possible to export a module instance object? module x from x; export { x }; I believe this should be allowed. I'm not aware of a technical reason why it shouldn't, and not allowing it would restrict some valid design options. For instance, within a package I might have a module

Re: Exporting a Module Instance Object

2013-12-09 Thread Sam Tobin-Hochstadt
Yes, this should work fine. On Mon, Dec 9, 2013 at 8:59 AM, Kevin Smith zenpars...@gmail.com wrote: Is it possible to export a module instance object? module x from x; export { x }; I believe this should be allowed. I'm not aware of a technical reason why it shouldn't, and not