On Tue, May 28, 2013 at 08:58:29AM -0700, Johan Tibell wrote:
> 
> The likely practical result of this is that every module will now read:
> 
> module M where
> 
> #if MIN_VERSION_base(x,y,z)
> import Prelude
> #else
> import Data.Num
> import Control.Monad
> ...
> #endif
> 
> for the next 3 years or so.

Not so. First of all, if Prelude is not removed then you can just write
    import Prelude

But even this is not necessary during the transition period: see
    
http://hackage.haskell.org/trac/haskell-prime/wiki/NoImplicitPreludeImport#Backwardscompatibility
for a way that backwards compatibility can be maintained, with
additional imports not being needed until code migrates to the
split-base packages.


Thanks
Ian
-- 
Ian Lynagh, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/

_______________________________________________
Haskell-prime mailing list
Haskell-prime@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-prime

Reply via email to