module namespaces with "Prelude"

Sigbjorn Finne
Thu, 9 May 2002 08:19:50 -0700

FYI - I've added a :settable toggle to Hugs which controls whether
or not to include the directory of the importing module, e.g.,

   :set -X

turns off the default of adding the directory.

I believe that captures the outcome of this e-mail firestorm; please
correct me if not.


----- Original Message -----
From: "Simon Marlow" <>
To: "Johan Nordlander" <>; "Alastair Reid"
Cc: <>; "Simon Peyton-Jones" <>;
"GHC Users Mailing List" <>; "Hal Daume
III" <hdaume@ISI.EDU>
Sent: Thursday, April 25, 2002 02:30
Subject: RE: module namespaces with "Prelude"

> > All in all, dropping all implicit directories from the search
> > path gets my vote.
> "me too".
> I wasn't aware that Hugs did this, and GHCi certainly doesn't.  It's
> reasonable to leave "." in the default search path, but adding an
> implicit root for an imported module will certainly lead to trouble -
> after all, we use hierarchical module names because the modules at the
> leaves of the tree are expected to overlap.
> Cheers,
> Simon
> _______________________________________________
> Glasgow-haskell-users mailing list