Proposal: NoImplicitPreludeImport

Ian Lynagh ian at well-typed.com
Tue Jun 4 20:50:21 CEST 2013


On Tue, Jun 04, 2013 at 01:15:58PM +1000, Manuel M T Chakravarty wrote:
> 
> If a module contains an import of the form
> 
>   import Prelude.XYZ
> 
> then it also automatically uses the NoImplicitPrelude language pragma. Otherwise, the Prelude remains to be implicitly defined as before.

What about these?:

    import Prelude.XYZ as Foo

    import Foo as Prelude.XYZ


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



More information about the Haskell-prime mailing list