Thanks Jack,<div><br></div><div>I can get the documentation okay with:</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><font class="Apple-style-span" face="'courier new', monospace">cabal install --reinstall <i><package-name></i></font></div>
</blockquote><div><br></div><div>Now I'm getting into another problem.</div><div><br></div><div>I specifically wanted the documentation for the Network module as its documentation is not included in the default Haskell Platform install.</div>
<div><br></div><div>I run:</div><div><br></div><div><blockquote class="webkit-indent-blockquote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 40px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
<div><font class="Apple-style-span" face="'courier new', monospace">cabal install --reinstall <i>network</i></font></div></blockquote></div><div><br></div><div>But get the error shown in this ticket: <a href="http://trac.haskell.org/network/ticket/39">http://trac.haskell.org/network/ticket/39</a></div>
<div><br></div><div>I believe the network package is already installed, and I only want the documentation for it.</div><div><br></div><div>What should I do?</div><div><br></div><div>Cheers,</div><div><br></div><div>-John</div>
<div><br><div class="gmail_quote">On 22 June 2011 11:14, Jack Henahan <span dir="ltr"><<a href="mailto:jhenahan@uvm.edu">jhenahan@uvm.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
John,<br>
<br>
Run `ghci`, then<br>
<br>
:m System.Directory<br>
getAppUserDataDirectory "cabal"<br>
<br>
That'll show you the directory where your cabal config is.<br>
<div><div></div><div class="h5"><br>
On Jun 21, 2011, at 9:03 PM, John Ky wrote:<br>
<br>
> Hi Svein,<br>
><br>
> Where can I find this file on Windows 7 or Windows generally if its all the same?<br>
><br>
> Cheers,<br>
><br>
> -John<br>
><br>
> On 22 June 2011 10:15, Svein Ove Aas <<a href="mailto:sveina@gmail.com">sveina@gmail.com</a>> wrote:<br>
> Yes, cabal does this if you have haddock installed.<br>
><br>
> You'll probably have to edit .cabal/config, though. The relevant options should be fairly obvious in there.<br>
><br>
> On Jun 22, 2011 12:52 AM, "John Ky" <<a href="mailto:newhoggy@gmail.com">newhoggy@gmail.com</a>> wrote:<br>
> > Hi all,<br>
> ><br>
> > Lately I've been finding the Network module missing from the docs I download<br>
> > from the GHC website, which brings me to the question:<br>
> ><br>
> > Is there any way I could generate libraries for this, the core libraries and<br>
> > all installed cabal packages into one reference so I can work offline?<br>
> ><br>
> > Cheers,<br>
> ><br>
> > -John<br>
><br>
</div></div>> _______________________________________________<br>
> Haskell-Cafe mailing list<br>
> <a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
> <a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br>
<br><br>
<br>
<br></blockquote></div><br></div>