Thanks Jack,

I can get the documentation okay with:

cabal install --reinstall <package-name>

Now I'm getting into another problem.

I specifically wanted the documentation for the Network module as its documentation is not included in the default Haskell Platform install.

I run:

cabal install --reinstall network

But get the error shown in this ticket: http://trac.haskell.org/network/ticket/39

I believe the network package is already installed, and I only want the documentation for it.

What should I do?

Cheers,

-John

On 22 June 2011 11:14, Jack Henahan <jhenahan@uvm.edu> wrote:
John,

Run `ghci`, then

   :m System.Directory
   getAppUserDataDirectory "cabal"

That'll show you the directory where your cabal config is.

On Jun 21, 2011, at 9:03 PM, John Ky wrote:

> Hi Svein,
>
> Where can I find this file on Windows 7 or Windows generally if its all the same?
>
> Cheers,
>
> -John
>
> On 22 June 2011 10:15, Svein Ove Aas <sveina@gmail.com> wrote:
> Yes, cabal does this if you have haddock installed.
>
> You'll probably have to edit .cabal/config, though. The relevant options should be fairly obvious in there.
>
> On Jun 22, 2011 12:52 AM, "John Ky" <newhoggy@gmail.com> wrote:
> > Hi all,
> >
> > Lately I've been finding the Network module missing from the docs I download
> > from the GHC website, which brings me to the question:
> >
> > Is there any way I could generate libraries for this, the core libraries and
> > all installed cabal packages into one reference so I can work offline?
> >
> > Cheers,
> >
> > -John
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe