Re: [Haskell-cafe] Data.FiniteMap deprecrated

2009-05-16 Thread Alexander Dunlap
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  wrote:
> 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
>> >
>> >
>
>
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Data.FiniteMap deprecrated

2009-05-16 Thread 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 <
alexander.dun...@gmail.com> 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
> >
> >
>
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Data.FiniteMap deprecrated

2009-05-16 Thread Alexander Dunlap
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
>
>
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Data.FiniteMap deprecrated

2009-05-16 Thread Vasili I. Galchin
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


Re: [Haskell-cafe] Data.FiniteMap deprecrated

2009-05-15 Thread Don Stewart
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

> ___
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Data.FiniteMap deprecrated

2009-05-15 Thread 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