On Mon, Jun 20, 2011 at 12:43:37PM +0100, Paterson, Ross wrote:
> Simon Peyton-Jones writes:
> >   (Plan A) Add a module 'Prelude' to package 'haskell98'.
> >            Now you can compile a pure H98 program thus:
> >                    ghc -c Main.hs -hide-all-packages -package haskell98
> >            (Cabal puts the -hide-all-packages in for you.)  And this will
> >            continue to work even if later iterations of Haskell change the 
> > Prelude.
> 
> So Plan A also involves hiding the haskell98 package by default?

Yes. This puts it in the same category as haskell2010, which is already
hidden by default in GHC 7.0. Also, note that hiding makes no difference
when using Cabal.


Thanks
Ian


_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to