[Haskell-cafe] Maintainer of pngload listening?
ivanperezdominguez at gmail.com
Thu Jun 28 20:21:00 CEST 2012
I was reviewing old code and the same happened to me. A simpler (and
cleaner) solution is:
1. Remove dependency on haskell98
2. Remove "import System"
3. Add the following two imports:
No need to import prelude explicitly. The program should compile
without problems this way.
On 28 June 2012 18:18, Ivan Perez <ivanperezdominguez at gmail.com> wrote:
> I am not the maintainer.
> AFAIK, haskell98 is only used to import System in Test.hs.
> You should be able to remove the dependency on haskell98 from the
> cabal file and install the library without problems. In order to test
> it, move Test.hs to a temp directory after installing the library, add
> the following import to that file:
> import "base" Prelude
> And compile with:
> ghc --make Test.hs -package haskell98 -XPackageImports -XNoImplicitPrelude
> On 9 June 2012 13:22, Daniel Trstenjak <daniel.trstenjak at googlemail.com> wrote:
>> Marko Lauronens email address from the package is invalid, so I'm trying
>> to reach him this way.
>> pngload doesn't compile with ghc >= 7.2 because of it's dependency to base and haskell98.
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe