[haddock] #24: Do something better about re-exported symbols from another package

haddock haddock at projects.haskell.org
Tue Mar 10 16:32:32 EDT 2009


#24: Do something better about re-exported symbols from another package
------------------------+---------------------------------------------------
Reporter:  waern        |        Owner:     
    Type:  enhancement  |       Status:  new
Priority:  major        |    Milestone:     
 Version:  0.x          |   Resolution:     
Keywords:               |  
------------------------+---------------------------------------------------
Comment (by waern):

 We might not need to store anything in the .haddock files if we can
 reconstruct all declarations from the `TyThings` available in the .hi
 files. We already convert instances using a conversion function `toHsType
 :: Type -> HsType Name`. We could try to write a conversation function
 `toHsDecl :: TyThing -> HsDecl Name`.

 The downside of this approach is that we loose the original declaration
 style. For example, we don't know if a data type was declared using GADT-
 style syntax (with a 'where' clause), or normal style.

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


More information about the Haddock mailing list