
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.

On Sat, 21 Aug 2010, Hans Aberg 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.

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?
It is the version that comes with Hugs. It is the same as listed on http://haskell.org/haskore/ . What other version do you have in mind.
The -P option can be used to extend the search path.
Yes, but as said above, I wondered what was needed to fix the package.

On Sat, 21 Aug 2010, Hans Aberg wrote:
On 21 Aug 2010, at 20:24, Henning Thielemann wrote:
Did you install Haskore with Cabal or is it a version of Haskore that is shipped with Hugs?
It is the version that comes with Hugs. It is the same as listed on http://haskell.org/haskore/. What other version do you have in mind.
There is Paul Hudak's original version as Cabal package http://hackage.haskell.org/package/haskore-vintage and one that I have messed http://hackage.haskell.org/package/haskore

On 21 Aug 2010, at 20:57, Henning Thielemann wrote:
Did you install Haskore with Cabal or is it a version of Haskore that is shipped with Hugs?
It is the version that comes with Hugs. It is the same as listed on http://haskell.org/haskore/ . What other version do you have in mind.
There is Paul Hudak's original version as Cabal package http://hackage.haskell.org/package/haskore-vintage
I just put the directory src/ in this package and replaced it with Haskore/ in the Hugs distribution, and then it loaded.
and one that I have messed http://hackage.haskell.org/package/haskore
What changes have you made? - perhaps the packages should be unified.

On Sat, 21 Aug 2010, Hans Aberg wrote:
On 21 Aug 2010, at 20:57, Henning Thielemann wrote:
and one that I have messed http://hackage.haskell.org/package/haskore
What changes have you made? - perhaps the packages should be unified.
I changed almost everything: Divided modules, designed a hierarchy for module names, generalized many functions and types. In retrospective I should have given it a distinct name.

On 21 Aug 2010, at 21:51, Henning Thielemann wrote:
and one that I have messed http://hackage.haskell.org/package/haskore
What changes have you made? - perhaps the packages should be unified.
I changed almost everything: Divided modules, designed a hierarchy for module names, generalized many functions and types. In retrospective I should have given it a distinct name.
If the basic functionality is the essentially the same, it is probably better to have a single, large package, where people can add their own stuff modularly, though it is good to have a license that admits independent cloning for those that so wish.

On 21 Aug 2010, at 20:57, Henning Thielemann wrote:
Did you install Haskore with Cabal or is it a version of Haskore that is shipped with Hugs?
It is the version that comes with Hugs. It is the same as listed on http://haskell.org/haskore/ . What other version do you have in mind.
There is Paul Hudak's original version as Cabal package http://hackage.haskell.org/package/haskore-vintage and one that I have messed http://hackage.haskell.org/package/haskore
I see now that the original Haskore page http://haskell.org/haskore/ has been replaced without linking by <http://www.haskell.org/haskellwiki/Haskore
. So just make a forward link there, I think.

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.
participants (2)
-
Hans Aberg
-
Henning Thielemann