Inner Modules?

Basile B. b2.temp at gmx.com
Sat Feb 12 21:48:08 UTC 2022


On Saturday, 12 February 2022 at 21:25:48 UTC, forkit wrote:
> On Saturday, 12 February 2022 at 21:23:08 UTC, forkit wrote:
>> On Saturday, 12 February 2022 at 19:48:23 UTC, Basile B. wrote:
>>>
>>> Yeah people who reads the forum know what you are talking 
>>> about.
>>> This is an old chesnut here.
>>
>> I don't get it. This is not a valid topic for discussion?
>
> I got the idea from Rust:
>
> https://doc.rust-lang.org/rust-by-example/mod/visibility.html

This exists in other languages too. In styx I've chosen 
["strict"](https://styx-lang.gitlab.io/styx/protection_declaration.html#strict), inspired by the keyword used in free pascal, that has ["strict private"](https://www.freepascal.org/docs-html/ref/refse35.html).


More information about the Digitalmars-d mailing list