[Haddock] [haddock] #188: Haddock reorders multiple declarations on one line

haddock haddock at projects.haskell.org
Sun Nov 13 13:31:00 GMT 2011


#188: Haddock reorders multiple declarations on one line
----------------------+-----------------------------------------------------
Reporter:  DavidAmos  |       Owner:        
    Type:  defect     |      Status:  new   
Priority:  minor      |   Milestone:  2.10.0
 Version:  2.9.2      |    Keywords:        
----------------------+-----------------------------------------------------
 I have a source file containing the line:

 i,j,k :: Num k => Quaternion k

 The relevant line of the Haddock documentation comes out as:

 i, k, j :: Num k => Quaternion k

 (Note the reordering.)

 Although not strictly incorrect, this distorts the semantic intent of the
 documentation.

 The reordering also happens in other cases, eg:
 http://hackage.haskell.org/packages/archive/HaskellForMaths/0.4.1/doc/html
 /Math-Algebras-Quaternions.html
 http://hackage.haskell.org/packages/archive/HaskellForMaths/0.4.1/doc/html
 /Math-Algebras-Octonions.html

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


More information about the Haddock mailing list