Ticket #247 (closed defect: fixed)
Haddock can not generate latex documentation for FFI declarations
|Reported by:||julian.fleischer||Owned by:||Fūzetsu|
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