Re: Bug on lhs files

2014-03-26 Thread Mikhail Glushenkov
Hi, On 26 March 2014 11:18, Pierre-Étienne Meunier wrote: > 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. Can you please file an issue at https://github.com/haskell/cab

Bug on lhs files

2014-03-26 Thread Pierre-Étienne Meunier
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