module namespaces with "Prelude"

Sigbjorn Finne sof@galois.com
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.

--sigbjorn

----- Original Message -----
From: "Simon Marlow" <simonmar@microsoft.com>
To: "Johan Nordlander" <nordland@cs.chalmers.se>; "Alastair Reid"
<reid@cs.utah.edu>
Cc: <hugs-bugs@haskell.org>; "Simon Peyton-Jones" <simonpj@microsoft.com>;
"GHC Users Mailing List" <glasgow-haskell-users@haskell.org>; "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
> Glasgow-haskell-users@haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users