On Thursday 08 December 2005 23:24, raptor wrote:
> hi,
>
> I imported :
>
> import Data.Map as Map
>
> but now anywhere when I want ot use "map" it complains for
> name clashes, so I have to specifiy Prelude.map all the time.
> Is there a way to specify that i mean Prelude not Data 'map' (but not
> fqn) I use Hugs, 'cause error messages are more understandable.

import Data.Map as Map
import Prelude hiding (map)
import qualified Prelude (map)

should do it (untested).

Ben
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to