[Hackage] #783: Weird brackets in function names on Haddock page

Hackage cvs-ghc at haskell.org
Thu Dec 23 20:27:02 CET 2010

#783: Weird brackets in function names on Haddock page
  Reporter:  guest              |        Owner:         
      Type:  defect             |       Status:  new    
  Priority:  normal             |    Milestone:         
 Component:  hackageDB website  |      Version:
  Severity:  normal             |     Keywords:         
Difficulty:  unknown            |   Ghcversion:         
  Platform:                     |  

Comment(by isaacdupree):

 That's because `__HADDOCK__` is only defined for Haddock 0.x, not for the
 current GHC-API-based Haddock (deliberately, nothing special is defined
 for the current Haddock).  IMHO it's a Haddock bug to say "conv[a9D8] ::
 something" and not give a proper name (any idea whether it's easy to fix,
 vs. is a design problem?).  The only(?) other reason I can see for that
 ifdef is if you're trying to lie about the types in the haddocumentation
 (I don't know Harpy's use of TH well enough to be sure myself).

 -Isaac Dupree

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/783#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list