 
            
            
            
            
                26 Mar
                
                    2014
                
            
            
                26 Mar
                
                '14
                
            
            
            
        
    
                6:18 a.m.
            
        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