Drastic Prelude changes imminent

Erik Hesselink hesselink at gmail.com
Tue Jan 27 11:10:49 UTC 2015


On Tue, Jan 27, 2015 at 11:32 AM, Augustsson, Lennart
<Lennart.Augustsson at sc.com> wrote:
> *    Add a new pragma
>         {-# LANGUAGE Prelude=AlternativePrelude #-}
>       *   Semantics is name-space only: import Prelude (); import
> AlternativePrelude

I don't have any opinion on the full proposal yet, but I usually use
"{-# LANGUAGE NoImplicitPrelude #-}" when using an alternate prelude.
Is there any different between that and "import Prelude ()"?

Erik


More information about the Libraries mailing list