Questions tagged [haddock]

Haddock is a documentation generator for Haskell

129 questions
0
votes
1 answer

Generate Haddock for hidden members

Can I generate Haddock documentation for hidden members. My use case is that I have a type T that is shown in the signature of some functions. As in e.g. f :: T -> U, g :: T -> U. I'd like users of my library to know what T is used for, but not…
fredefox
  • 681
  • 3
  • 11
0
votes
1 answer

Haskell haddock automatic documentation

I have not been able to generate documentaion for haskell using haddock. So far I have not found any useful examples. The documentation has a lot of options and also I am not sure about the comment syntax so that documentation is correctly…
lesolorzanov
  • 3,536
  • 8
  • 35
  • 53
0
votes
0 answers

install haddock on windows GHCi 8.0.1

My question is very simple, how do I install haddock? I'm using GHCi version 8.0.1 in windows.. Is haddock compatible with windows GHCI?
Dost
  • 33
  • 7
0
votes
1 answer

Is Haskell Platform 7.10.2-a1 missing documents?

I installed Haskell Platform 7.10.2-a1 64bit-signed.pkg on a MacBook Pro running OS X 10.11.1. It brought up a nice display in Safari. When I click on 'Libraries' and the 'Codec.Compression.Zlib', i get a page of Safari can't find the file with…
aMike
  • 852
  • 5
  • 14
0
votes
0 answers

How do I install Haddock from gitHub?

Okay, so in "Why isn't Cabal hyperlinking my sources?", I found out that I needed haddock 2.16.2 to use cabal install --haddock-hyperlink-source. So, I installed it from gitHub by cloning it, and running cabal install -j in the repo, and it…
PyRulez
  • 10,513
  • 10
  • 42
  • 87
0
votes
1 answer

Where does cabal put the hyperlinked source?

According to this comment, you can cause cabal-install to also hyperlink the source of the package you are installing. Where does it put theses sources? Do I need to enable any other options or packages to acquire them?
PyRulez
  • 10,513
  • 10
  • 42
  • 87
0
votes
0 answers

Unable to create LaTex documentation with haddock/cabal

I'm trying to generate LaTex-documantation for my project with Haddock. Everything is build with cabal (... cabal configure and cabal build work without a problem). Everything works fine for the html-version of the documentation. But when I issue…
jules
  • 1,897
  • 2
  • 16
  • 19
0
votes
0 answers

Install / run Cabal to ultimately use pandoc

In my search to use pandoc on Unix, I have found out that my SLES11 OS has GHC already installed, and I see that the Cabal package is indeed there. However, the cabal command is not found, so I tried to install cabal. When I run the bootstrapper, it…
tennis
  • 151
  • 1
  • 1
  • 6
0
votes
1 answer

Errors on building haddock documentation with cabal

I'm currently developing small application on Haskell. I have all documented and main too. But cabal haddock --executables show errors: Running Haddock for XComposeChecker-0.1... Preprocessing executables for XComposeChecker-0.1... Warning: The…
m0nhawk
  • 22,980
  • 9
  • 45
  • 73
1 2 3
8
9