[Haddock] [haddock] #155: Infix constraints are printed prefixed

haddock haddock at projects.haskell.org
Mon Oct 4 16:52:56 EDT 2010

#155: Infix constraints are printed prefixed
Reporter:  basvandijk   |       Owner:       
    Type:  enhancement  |      Status:  new  
Priority:  minor        |   Milestone:  2.7.0
 Version:  2.7.2        |    Keywords:       
 In my `regions` package I make extensive use of infix constraints.

 Take my [http://hackage.haskell.org/packages/archive/safer-file-
 handles/0.8/doc/html/System-IO-SaferFileHandles.html#8 hFileSize] function
 for example. If you look at the source you'll notice that the constraint:
 {{{pr `ParentOf` cr}}} is written infix. However haddock prints it
 prefixed: {{{ParentOf pr cr}}}.

 It would be nice if Haddock respected the fixity of the written

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

More information about the Haddock mailing list