On Tuesday, 14 February 2023 at 21:55:24 UTC, Adam D Ruppe wrote:
On Tuesday, 14 February 2023 at 21:23:26 UTC, ryuukk_ wrote:
module name must correspond to its path
this is not true.
I thought it had to match, that's interesting
On Tuesday, 14 February 2023 at 21:23:26 UTC, ryuukk_ wrote:
module name must correspond to its path
this is not true.
Glad it worked!
I wonder why DMD doesn't just parse the import and follow its
path since module name must correspond to its path
Does anyone know?
On Tuesday, 14 February 2023 at 17:56:39 UTC, ryuukk_ wrote:
I think you need to do:
```
rdmd MLP.d -I ANN/
```
Basically you need to tell the compiler where your imported
packages are
This did the trick. I did not need it when `utils` was the only
local import, but I suppose the compiler
I think you need to do:
```
rdmd MLP.d -I ANN/
```
Basically you need to tell the compiler where your imported
packages are
I have the following directory structure:
```
ANN/
ANN/mathkit/
ANN/mathkit/package.d
ANN/utils/
ANN/utils/package.d
ANN/MLP.d
```
I have the following in "ANN/mathkit/package.d":
```d
module ANN.mathkit;
//...
/// Local Imports ///
import ANN.utils;
//...
```
I