[Haskell-cafe] Getting library documentation for installed packages on Windows
newhoggy at gmail.com
Wed Jun 22 15:42:53 CEST 2011
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.
cabal install --reinstall *network*
But get the error shown in this ticket:
I believe the network package is already installed, and I only want the
documentation for it.
What should I do?
On 22 June 2011 11:14, Jack Henahan <jhenahan at uvm.edu> wrote:
> 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 at 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 at gmail.com> wrote:
> > > Hi all,
> > >
> > > Lately I've been finding the Network module missing from the docs I
> > > 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 at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe