After upgrading to ghc 7.4, I had to remove import Systemfrom different scripts, but this makes them incompatible with runhaskell from GHC 6.0, which is still used in many environments.
Is there a way to support both versions?
The message I get when running a script with import Systemin ghc 7.4:
% ./script.hs
Could not find module `System'
It is a member of the hidden package `haskell98-2.0.0.1'.
Use -v to see a list of the files searched for.
source
share