Early trial builds of 2012.2.0.0

George Colpitts george.colpitts at gmail.com
Wed May 16 13:49:21 BST 2012


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.colpitts at 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/haskell-platform/attachments/20120516/04fea8fc/attachment.htm>


More information about the Haskell-platform mailing list