Hi, 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: import System.Environment import System.Exit
No need to import prelude explicitly. The program should compile without problems this way. Cheers, Ivan On 28 June 2012 18:18, Ivan Perez <ivanperezdoming...@gmail.com> wrote: > Hi, > 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 > > Cheers, > Ivan. > > On 9 June 2012 13:22, Daniel Trstenjak <daniel.trsten...@googlemail.com> > wrote: >> >> Hi, >> >> 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. >> >> >> Greetings, >> Daniel >> >> _______________________________________________ >> Haskell-Cafe mailing list >> Haskell-Cafe@haskell.org >> http://www.haskell.org/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe