[haddock] #82: Strange layout bug

haddock haddock at projects.haskell.org
Fri Feb 6 19:16:39 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):

 This is just not supported by the current grammar. It would be nice to
 support it, but I wonder how, since it is possible to comment record
 fields using the `-- ^` notation which would clash with commenting the
 result type.

 Perhaps we should only allow comments on record fields to exist on the
 lines before or after the field. This would make it possible to comment
 the type (or parts of the type) like you did in the example.

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

More information about the Haddock mailing list