RE: Type Families in Haddock
Simon Peyton-Jones <[email protected]> Fri, 4 Jul 2008 14:30:41 +0100
| Newsgroups | gmane.comp.lang.haskell.haskelldoc,gmane.comp.lang.haskell.cvs.ghc |
|---|---|
| Message-ID | <638ABD0A29C8884A91BC5FB5C349B1C32AE7382F9C@EA-EXMSG-C334.europe.corp.microsoft.com> |
That would be fabulous. | -----Original Message----- | From: [email protected] [mailto:[email protected]= rg] On Behalf Of David Waern | Sent: 02 July 2008 08:53 | To: [email protected]; [email protected] | 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 | [email protected] | http://www.haskell.org/mailman/listinfo/haskelldoc