[Haskell-cafe] Can't install hspec
Malcolm Wallace
malcolm.wallace at me.com
Mon Jan 23 11:18:54 CET 2012
On 23 Jan 2012, at 07:01, Erik de Castro Lopo wrote:
> /tmp/hspec-0.9.04062/hspec-0.9.0/Setup.lhs:2:10:
> Could not find module `System'
> It is a member of the hidden package `haskell98-2.0.0.0'.
In ghc-7.2, you cannot use the haskell98 package in conjunction with the base package. The simplest solution is the replace the "import System" with the appropriate replacement module in base: most probably System.Environment, System.Exit, or similar.
Regards,
Malcolm
More information about the Haskell-Cafe
mailing list