Re: [Haskell-cafe] Getting library documentation for installed packages on Windows

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
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"
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

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
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"
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

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
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
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.
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
On Jun 22, 2011 12:52 AM, "John Ky"
wrote: 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
participants (2)
-
Jack Henahan
-
John Ky