[Haskell-cafe] Re: Re : Re: Re : Error importing

Daniel Fischer daniel.is.fischer at web.de
Thu Aug 26 08:37:10 EDT 2010


On Thursday 26 August 2010 09:04:23, Luc TAESCH wrote:
> > and looked at Lekah's message:
> > src\Main.hs:19:17:
> >    Could not find module `Data.Map':
> >      It is a member of the hidden package `containers-0.3.0.0'.
> >      Perhaps you need to add `containers' to the build-depends in
> > your .cabal file.
> >      Use -v to see a list of the files searched for.
> >
> > So I put "containers" after one of the depends:
> > build-depends: containers base -any

build-depends has to be a comma-separated list, iirc, try

build-depends: containers >= 0.3 && < 0.4, base -any

Although, I recommend also putting version constraints on base.



More information about the Haskell-Cafe mailing list