Type Families in Haddock

Simon Peyton-Jones simonpj at microsoft.com
Fri Jul 4 09:30:41 EDT 2008


That would be fabulous.

| -----Original Message-----
| From: haskelldoc-bounces at haskell.org [mailto:haskelldoc-bounces at haskell.org] On Behalf Of David Waern
| Sent: 02 July 2008 08:53
| To: cvs-ghc at haskell.org; haskelldoc at haskell.org
| Subject: Type Families in Haddock
|
| Hi,
|
| I'm going to add Type Families support to the Haddock HTML backend.
| What would be the best way to do it? I'm thinking it could work
| similar to how classes and instances are currently rendered, so that
| type/data/newtype instances are collected and attached to type family
| declarations. Is this too simplistic? Should we render
| type/data/newtype instances as separate entities in the module
| documentation instead (and perhaps do the same thing with class
| instances)?
|
| Currently, when packages export instances that belong to classes from
| other packages, those instances are not documented anywhere. An
| advantage of having instances as separate entities in the exporting
| module documentation is that no instances are "lost".
|
| David
| _______________________________________________
| HaskellDoc mailing list
| HaskellDoc at haskell.org
| http://www.haskell.org/mailman/listinfo/haskelldoc



More information about the HaskellDoc mailing list