patch applied (packages/base): Add NoImplicitPrelude to the extensions used when building with GHC

Ian Lynagh igloo at earth.li
Thu Jan 15 08:17:48 EST 2009


On Thu, Jan 15, 2009 at 09:12:16AM +0000, Simon Marlow wrote:
> Ian Lynagh wrote:
> >Wed Jan 14 12:28:10 PST 2009  Ian Lynagh <igloo at earth.li>
> >  * Add NoImplicitPrelude to the extensions used when building with GHC
> 
> Why do we need this?  Doesn't it mean we'll have to explicitly "import 
> Prelude" in all modules in base that depend on Prelude?

We already have to do this in most of them in order for ghc -M to work.
I only had to add one import (in Data.STRef.Lazy) in order to make
everything work with NoImplicitPrelude, and it makes it slightly easier
to look at the dependencies of the base package if they're all explicit.


Thanks
Ian



More information about the Cvs-libraries mailing list