
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
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, Alexander Dunlap
wrote: You need to include the "containers" package in your cabal file.
Alex
On Sat, May 16, 2009 at 4:44 PM, Vasili I. Galchin
wrote: 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
wrote: It's Data.Map. It's in the base package.
2009/5/16 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 http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Eugene Kirpichov Web IR developer, market.yandex.ru
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe