Graeme Moss writes:
>
> GHC fails on the following script:
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> import qualified Prelude
>
> main :: Prelude.IO ()
> main = Prelude.print Prelude.True
> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>
> with
>
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> importPrel.hs:3: Type constructor or class not in scope: `()'
>
Yep, a renaming problem. For now, play games such as
import qualified Prelude hiding ( () )
import Prelude ( () )
Thanks,
--Sigbjorn