Bug on lhs files

Pierre-Étienne Meunier Pierre-etienne.Meunier at lif.univ-mrs.fr
Wed Mar 26 10:18:22 UTC 2014


Hi,

There is a bug in cabal haddock, when lines in an lhs file start with a $, which is quite common when writing a paper with large TeX fragments in the programs.

For instance, cabal haddock fails on the following lhs file:

blabla, blibli
$a+b$
\begin{code}
main=putStrLn "Hello"
\end{code}

I first thought it was a haddock bug, but the haddock maintainers disagree:http://trac.haskell.org/haddock/ticket/293

Pierre-Étienne Meunier


More information about the cabal-devel mailing list