
12 Oct
2005
12 Oct
'05
6:15 a.m.
Ketil Malde wrote:
Indeed. While I generally like the overloaded, qualified names, I find it annoying when, like 'map', they clash with Prelude imports. Which means that, in a module using Data.Set, I must either use it all qualified, or import it twice (qualified and hiding map), or explicitly import Prelude hiding map. (Better solutions wanted!)
I think, you should import qualified Data.Set as Set only and use "Set.map" rather than the deprecated "mapSet" (most other names from Data.Set make more sense with the "Set." prefix) Christian