Data.Map in the containers library.
vigalchin:
Hello,
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/FiniteMap
...
since this is deprecated what is the orthodox way to implement finite map??
Thanks,
Vasili
___
Yevgeni,
I am specifying base as a Cabal dependency ... dumb question ... I
have forgotten whether I need to import Data.Map also?
Vasili
On Sat, May 16, 2009 at 1:05 AM, Eugene Kirpichov ekirpic...@gmail.comwrote:
It's Data.Map. It's in the base package.
2009/5/16 Vasili I. Galchin
You need to include the containers package in your cabal file.
Alex
On Sat, May 16, 2009 at 4:44 PM, Vasili I. Galchin vigalc...@gmail.com wrote:
Yevgeni,
I am specifying base as a Cabal dependency ... dumb question ... I
have forgotten whether I need to import Data.Map also?
Vasili
yeah I do ghc can't find the Map constructor ..
also in another module Parsec is being used ... I have parsec as a dependecy
in my cabal file and I also have an import Text.Parsec but ghc could not
find module Text.Parsec. ???
Thanks, Vasili
On Sat, May 16, 2009 at 6:57 PM,
You need to import Data.Map in any file you use Map in.
Which version of Parsec are you using? Versions before 3.0.0 do not
have a module called Text.Parsec, the module is
Text.ParserCombinators.Parsec (or something like that).
Alex
On Sat, May 16, 2009 at 5:03 PM, Vasili I. Galchin
Hello,
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/FiniteMap
... since this is deprecated what is the orthodox way to implement finite
map??
Thanks,
Vasili
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org