[Haskell-cafe] ghc 6.4 import problem

Bulat Ziganshin bulatz at HotPOP.com
Wed Jun 1 02:23:39 EDT 2005


Hello Fergus,

Tuesday, May 31, 2005, 10:24:41 PM, you wrote:

>> import Data.Set hiding (map)
>> import qualified Data.Set as Set
>> 
>> will do fine.

FH> That code only compiles with ghc 6.4, and won't compile with ghc 6.2:
FH> you'll get an error for the "hiding (map)" part, because in 6.2
FH> Data.Set does not contain a "map" function.

btw, question to Simon Marlow and Simon PJ - how about disabling this
error message? 


-- 
Best regards,
 Bulat                            mailto:bulatz at HotPOP.com





More information about the Haskell-Cafe mailing list