[haddock] #82: Strange layout bug

haddock haddock at projects.haskell.org
Sun Feb 8 16:00:42 EST 2009

#82: Strange layout bug
Reporter:  SamB    |        Owner:       
    Type:  defect  |       Status:  new  
Priority:  major   |    Milestone:  2.5.0
 Version:          |   Resolution:       
Keywords:          |  
Comment (by waern):

 Replying to [comment:2 SamB]:
 > Yeah, I figured that out soon after posting this ;-). Personally, I'd be
 happy with this requiring the function type to be in parens.

 Hmm, that's a bit inconsistent though, since comments on types of function
 definitions works exactly the opposite way.

 > (A nicer parse error would also be helpful.) I guess this bug is
 misnamed ... did you already make a bug about this?

 Nope, there's no such bug report. I'd rather call it an enhancement
 though, since the comments-on-types stuff has a very limited design
 currently and was not supposed to do this. It for example only supports
 comments on function arguments at the highest level. I think it would be
 good to try to generalize the design a little bit to support cases like
 this and more.

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

More information about the Haddock mailing list