Bug on lhs files

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


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
main=putStrLn "Hello"

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