I believe that Hugs 1.4 doesn't handle qualifed imports of the Prelude correctly. for example, this module is not accepted by Hugs: ------------------------------------------------ module Example where import qualified Prelude as P head :: P.Functor m => m [a] -> m a head = P.map P.head ----------------------------------------------- the report (p.62) says that the "explicit import qualifed Prelude declaration prevents the automatic import of Prelude" however, this module works fine: ------------------------------------------------ module Example where import Prelude () head :: Prelude.Functor m => m [a] -> m a head = Prelude.map Prelude.head ----------------------------------------------- byron
