[Haskell-cafe] Problem with Data.Map
nowgate at yahoo.com
Mon Jun 8 12:58:12 EDT 2009
Also wondering why I need two imports for one module.
--- On Mon, 6/8/09, Jochem Berndsen <jochem at functor.nl> wrote:
From: Jochem Berndsen <jochem at functor.nl>
Subject: Re: [Haskell-cafe] Problem with Data.Map
To: "michael rice" <nowgate at yahoo.com>
Cc: haskell-cafe at haskell.org
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?
The imports are fine, but instead of 'fromList' you should use
'Map.fromList' or 'Data.Map.fromList'.
Jochem Berndsen | jochem at functor.nl
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe