Changing my import to

       import System.Environment (getArgs)

solves the problem although on the previous version of the Haskell platform

       import System (getArgs)

worked.

On Tue, May 15, 2012 at 5:21 PM, George Colpitts
<george.colpi...@gmail.com>wrote:

> Hi
>
> I installed the early 32 bit Mac version. Much worked including
>
> cabal install vector
>
> but compilation of a file containing the following:
>
> import System (getArgs)
>
> main = putStrLn "Hello, World!"
>
>
> gave me the following error:
>
>  ghc -O2 Main.hs
>
> Main.hs:1:8:
>     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.
>
> I checked the release notes and didn't see anything about this.
>
> Not sure how you want to track this, do you want me to file a bug?
>
> I've been reading the mailing list but have not subscribed until now so
> I'm new to this.
>
> Regards
> George
>
>
>
>
_______________________________________________
Haskell-platform mailing list
Haskell-platform@projects.haskell.org
http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform

Reply via email to