[Haskell-cafe] ghc 6.4 import problem

Shiqi Cao caos2 at mcmaster.ca
Thu May 26 20:06:27 EDT 2005


I tried to port some code from ghc 6.2 to ghc 6.4, but I got the
following error

    Ambiguous occurrence `map'
    It could refer to either `GHC.Base.map', imported from Data.List at
                          or `Data.Set.map', imported from Data.Set at

The following is the first part of the code

module PrelExts where

import Data.FiniteMap
import Data.Set
import Data.List
import IO

There is no problem under ghc 6.2. What should I do?

Shiqi Cao

More information about the Haskell-Cafe mailing list