Hi Fabrice,

It's a bug, fixed in the next release.

Alastair

> Bug or feature?
> 
> Import'ing qualified Prelude doesn't inhibit Prelude from being
> imported unqualified, so an extra "import Prelude ()" is necessary.
> 
> > import qualified Prelude
> > head = Prelude.False
> 
> ==> ERROR "TestQualImportPrelude.hs" (line 2): Definition of variable "head" clashes 
>with import
> 
> 
> > import qualified Prelude
> > import Prelude()
> > head = Prelude.False
> 
> ==> compiles correctly.
> 
> --
> Fabrice
> 
> ===============================================================================
> Fabrice Lavier        <[EMAIL PROTECTED]>         (1.514) 345 1644, ext. 317
> ===============================================================================


Reply via email to