On Tue, May 28, 2013 at 8:23 AM, Ian Lynagh <i...@well-typed.com> wrote:
> > Dear Haskellers, > > I have made a wiki page describing a new proposal, > NoImplicitPreludeImport, which I intend to propose for Haskell 2014: > > http://hackage.haskell.org/trac/haskell-prime/wiki/NoImplicitPreludeImport > > What do you think? -1 for me. Breaking every single Haskell module for some namespace reorganization doesn't seem worth it. I don't think alternative Prelused (one of the justifications) is a good idea to begin with, as programmers will have to first understand which particular version of e.g. map this module uses, instead of knowing it's the same one as every other module uses. Changes like this will likely cause years worth of pain e.g. see the Python 2/Python 3 failure. 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. -- Johan
_______________________________________________ Haskell-prime mailing list Haskell-prime@haskell.org http://www.haskell.org/mailman/listinfo/haskell-prime