D is dead
rikki cattermole
rikki at cattermole.co.nz
Thu Aug 23 08:00:00 UTC 2018
On 23/08/2018 7:47 PM, Eugene Wissner wrote:
>
> You can probably solve it like haskell does: Export all symbols by default.
>
> So this module exports everything:
>
> -----------
> module MyModule where
>
> -- My code goes here
>
> -----------
>
> this one not:
>
> -----------
> module MyModule (symbol1, symbol2) where
>
> -- My code goes here
>
> -----------
We already have the solution, and is export as an attribute.
---------
module bar;
export:
int foo;
---------
---------
module bar;
export int foo;
---------
More information about the Digitalmars-d
mailing list