[Haskell-cafe] Hugs & Haskore loading

Hans Aberg haberg-1 at telia.com
Sat Aug 21 14:49:51 EDT 2010


On 21 Aug 2010, at 20:24, Henning Thielemann wrote:

>> When trying to load Haskore in Hugs Sept 2006 (say by :l), it does  
>> not work because it is in a subdirectory Haskore/Src/, despite that  
>> the Hugs searchpath includes
>> /usr/local/lib/hugs/packages/*
>>
>> I could of course change this searchpath, but I'm curios about how  
>> to fix it without it - it seems to work for a lot of other packages.
>
> Did you install Haskore with Cabal or is it a version of Haskore  
> that is shipped with Hugs? The -P option can be used to extend the  
> search path.

I think the problem is that Haskore is written for an older version of  
Hugs that just searches all subdirectories without extra requirements,  
but in the current version, a module Foo in Haskore/Src must be named  
Src.Foo.



More information about the Haskell-Cafe mailing list