[Haddock] [haddock] #183: "failed to parse haddock prologue from file" error on module

haddock haddock at projects.haskell.org
Sun Oct 30 17:58:50 GMT 2011


#183: "failed to parse haddock prologue from file" error on module
----------------------+-----------------------------------------------------
Reporter:  jberryman  |        Owner:        
    Type:  defect     |       Status:  new   
Priority:  minor      |    Milestone:  2.10.0
 Version:  2.9.2      |   Resolution:        
Keywords:             |  
----------------------+-----------------------------------------------------
Changes (by jberryman):

  * priority:  major => minor


Comment:

 I figured out what haddock was choking on: I needed a new line with a dot
 in the package description before a code block:

 {{{
     Changes 0.0.4 -> 0.1.0:
     .
     >  - use fclabels 1.0
     >  - zipper operations in Maybe by default
 }}}

 Naturally it would be nice if haddock could report a useful message in
 this case. Even knowing that the issue was in the .cabal file would have
 been a tremendous help.

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


More information about the Haddock mailing list