[Haskell-cafe] Problem with Data.Map

Jochem Berndsen jochem at functor.nl
Mon Jun 8 12:52:41 EDT 2009


michael rice wrote:
> I don't understand your response. I copied the imports from Hoogles Data.Map page. What should the imports be?
> 
> Michael

The imports are fine, but instead of 'fromList' you should use
'Map.fromList' or 'Data.Map.fromList'.

Regards,
-- 
Jochem Berndsen | jochem at functor.nl
GPG: 0xE6FABFAB


More information about the Haskell-Cafe mailing list