3 ms·
> The only time I don't like it is when we have nested modules, the parent and children modules are not in the same directory: > import A -- compiler r
by JoshTriplett 8y ago
> The only time I don't like it is when we have nested modules, the parent and children modules are not in the same directory:
> import A -- compiler reads A.hs
> import A.B -- compiler reads A/B.hs
That has to happen at some level, assuming subdirectories; otherwise, what would "import A.B.C" refer to?