Ross Paterson <[EMAIL PROTECTED]> writes:
> the changes would be cleaner if the search strategy for module
> names, currently

>       [ d++f++e | f <- files, d <- dirs, e <- hugsSuffixes ]
>        where files = [mod2dir nm, nm]

> were also changed to

>       [ d++f++e | d <- dirs, f <- files, e <- hugsSuffixes ]

> i.e. swap the first two generators.  

Better yet, drop the support for interpreting the '.' as anything but
a hierarchial module namespace separator.  That is, use this:

>       [ d ++ mod2dir nm ++ e | d <- dirs, e <- hugsSuffixes ]

The last release rightly supported both old and new style names.
We're already committed to dropping the non-hierarchial libraries
in future releases.  Let's drop non-hierarchial names too.

[I also lean towards dropping the implicit search of the current
directory too but I'm not certain enough of the consequences of such a
change.]

--
Alastair Reid                 [EMAIL PROTECTED]  
Reid Consulting (UK) Limited  http://www.reid-consulting-uk.ltd.uk/alastair/

_______________________________________________
Hugs-Users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-users

Reply via email to