Gotcha. Thanks!

Also wondering why I need two imports for one module.

Michael

--- On Mon, 6/8/09, Jochem Berndsen <[email protected]> wrote:

From: Jochem Berndsen <[email protected]>
Subject: Re: [Haskell-cafe] Problem with Data.Map
To: "michael rice" <[email protected]>
Cc: [email protected]
Date: Monday, June 8, 2009, 12:52 PM

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 | [email protected]
GPG: 0xE6FABFAB



      
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to