Re: WinHugs May 2006, missing Regex.Posix.dll

"Neil Mitchell" <[email protected]> Wed, 31 May 2006 21:43:21 +0100
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
Hi

> Not a problem, I think.  The files you listed are solely for use
> via C:\Program Files\WinHugs\programs\cpphs\Main.hs, which loads OK.
> It should be possible to load Language.Preprocessor.Cpphs etc from the
> cpphs package.
>
> > Perhaps Hugs should be default search in this manner, if you are 3
> > dots deep, then move up 3 dots before considering this the current
> > search folder? Yhc has this behaviour, GHC does not, but its very
> > useful!
>
> It's mainly useful if you load a hierarchical module by filename
> instead of module name, but I'm not sure that's a practice that
> should be encouraged.

It's also something I run into when developing a large application
(with a deep heirarchy) and want to check that one individual module
loads on its own. I have ../.. in my search path already to mitigate
this, so without that even more cpphs modules would have failed.

However, for this example of cpphs, it doesn't really matter much.

Thanks

Neil