[Haddock] [haddock] #247: Haddock can not generate latex documentation for FFI declarations

haddock haddock at projects.haskell.org
Tue May 28 14:55:39 BST 2013


#247: Haddock can not generate latex documentation for FFI declarations
-----------------------------+----------------------------------------------
Reporter:  julian.fleischer  |       Owner:     
    Type:  defect            |      Status:  new
Priority:  major             |   Milestone:     
 Version:  2.11.0            |    Keywords:     
-----------------------------+----------------------------------------------
 When trying to produce latex documentation, invoking haddock on sources
 with FFI declarations will fail with `haddock: internal error: declaration
 not supported by declNames`.

 A user on stackoverflow investigated the issue and found that in
 Haddock/LaTeX.hs the case switch only distinguishes `TyCID` and `SigD`,
 where the (X)HTML backend also distinguishes `ForD` (foreign
 declarations).

 The matter has been discussed on stackoverflow:
 http://stackoverflow.com/q/16792576/471478

-- 
Ticket URL: <http://trac.haskell.org/haddock/ticket/247>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool


More information about the Haddock mailing list