Changes between Version 11 and Version 12 of CrossPackageDocumentation
- Timestamp:
- 05/28/09 09:45:55 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CrossPackageDocumentation
v11 v12 27 27 Apparently, it might also be possible to do the conversion using existing Template Haskell functionality. This needs looking into. 28 28 29 The downside of this approach is that we lo ose 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. Other examples:29 The downside of this approach is that we lose 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. Other examples: 30 30 * We can't put in extra parenthesis where the user wants them. 31 31 * Sometimes users want non-operators to be defined and used in infix form, an example is Conal's type composition {{{`O`}}}. 32 33 Any information missing from the `TyThing` version of the declaration (such as whether to use GADT-style for datatype declarations) can always be added to the `.haddock` file, though.
