[Haskell-cafe] "hiddenness"

Vasili I. Galchin vigalchin at gmail.com
Thu May 14 17:04:23 EDT 2009


oh ... yes .. my .cabal file is incomplete! Thanks, Max.

Vasili

On Thu, May 14, 2009 at 3:56 PM, Max Rabkin <max.rabkin at gmail.com> wrote:

> On Thu, May 14, 2009 at 10:51 PM, Vasili I. Galchin <vigalchin at gmail.com>
> wrote:
> > Hello,
> >
> >      When I am compiling a module, I get "Could not find module
> > 'Control.Module.State':
> >                                                                   it is a
> > member of package mtl-1.1.0.2, which is hidden"
> >
> >      1) What is the efficacy of "hiddenness"?
>
> As I understand it, the purpose is two-fold. Firstly, if you have
> multiple versions a package (or multiple packages containing the same
> module), you can hide the ones not in use. Second, it ensures you have
> declared all dependencies.
>
> >      2) I have forgotten what tool I run to expose a package. ??
>
> I've only ever had this when working with Cabal, where I have missed a
> dependency. In this case, it looks like you have an undeclared
> dependency on mtl. I'm not sure whether this arises in the non-Cabal
> case.
>
> >      3) In another vein, the code is using Data.Finitemap ... so I guess
> I
> > must "darcs" install this?
>
> I believe it was just uploaded to Hackage (it's obsolete, but useful
> for getting old code to run).
>
> HTH,
> Max
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090514/449a3403/attachment.html


More information about the Haskell-Cafe mailing list