Inner Modules?

rikki cattermole rikki at cattermole.co.nz
Sat Feb 12 22:26:58 UTC 2022


On 13/02/2022 11:23 AM, forkit wrote:
> On Saturday, 12 February 2022 at 22:18:19 UTC, rikki cattermole wrote:
>> Modules originate in ML.
>>
>> Which do something very similar as they are not tied to files.
> 
> That's interesting. I will look into that (ML).
> 
> btw. Do you think, that since D modules are 'tied to files', that 'inner 
> modules concept' would be to difficult/complex to ever implement in D?

It would be a major refactoring to allow multiple modules per file.

It would have to be implemented as a separate thing in the compiler, I 
think.


More information about the Digitalmars-d mailing list