Proposals for changes to searching behaviour

Lauri Alanko la@iki.fi
Mon, 9 Dec 2002 15:35:54 +0200


On Mon, Dec 09, 2002 at 12:40:18PM -0000, Simon Marlow wrote:
>   - The sources for a module A.B.C would be allowed to be placed
>     in either A.B.C.hs or A/B/C.hs relative to one of the directories
>     in the search path.  Currently only A/B/C.hs is allowed.

> Please let us know if either of these would make your life easier, or if
> there's anything else you'd like to see.

Since the problem is often that your program/library has a managable
depth, but it is _located_ very deep in the hierarchy (eg. User.*
modules if you have a long and complicated domain), then how about
allowing A.B/C.hs for module A.B.C? Then you don't need to have a
long, mostly empty dummy hierarchy.


Lauri Alanko
la@iki.fi