<george.colpi...@gmail.com> wrote:
> Changing my import to
>
>        import System.Environment (getArgs)
>
> solves the problem although on the previous version of the Haskell platform
>
>        import System (getArgs)
>
> worked.

This is current GHC behaviour, and does (IMHO) not classify as a
Platform problem. The packages base, haskell98 and haskell2010 now
have overlapping modules, which results in GHC hiding the packages
haskell98 and haskell2010 at startup time. The "System" module is only
provided by haskell98. If you still want to use the haskell98 package,
you have to say something like

   ghc -hide-all-packages -package haskell98 Main

in order to compile your program.

Cheers,
  Andres

_______________________________________________
Haskell-platform mailing list
Haskell-platform@projects.haskell.org
http://projects.haskell.org/cgi-bin/mailman/listinfo/haskell-platform

Reply via email to