In 6.4 the duplicate import warning seems to be triggered overzealously, even
when one import is qualified and the other isn't.


import qualified Data.Map 
import Data.Map(Map)

foo :: Map Int Int
foo = Data.Map.empty
             
main = do
    print foo
                    
produces:
 Foo.hs:1:0:
    Warning: `Map' is imported more than once:
               imported from Data.Map at Foo.hs:3:16-18
               imported from Data.Map at Foo.hs:2:0-24


-- 
John Meacham - ârepetae.netâjohnâ 
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to