GHC and Haskell 98

Paterson, Ross R.Paterson at city.ac.uk
Mon Jun 20 13:43:37 CEST 2011


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?



More information about the Libraries mailing list