[Haddock] [haddock] #171: haddock fails to parse {- # ... #-} (note the space) pragma

haddock haddock at projects.haskell.org
Tue Mar 15 21:24:20 GMT 2011


#171: haddock fails to parse {- # ... #-} (note the space) pragma
-------------------+--------------------------------------------------------
Reporter:  slyfox  |        Owner:       
    Type:  defect  |       Status:  new  
Priority:  major   |    Milestone:  2.7.0
 Version:  2.9.1   |   Resolution:       
Keywords:          |  
-------------------+--------------------------------------------------------

Comment(by isaacdupree):

 So:

 That's not a pragma, according to Haskell standard (IIRC); it's a comment.

 Next, Haddock looks at it as a comment, as it looks at all comments, to
 determine whether it is Haddockumentation.

 Comments `-- #` or `{- #` denoted a Haddock-pragma in Haddock 0.x (rather
 as `-- |` and `{- |` denote Haddock-comments still).  Could that be
 related?

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


More information about the Haddock mailing list