aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockDB.hs
Commit message (Collapse)AuthorAgeFilesLines
* Initial modifications -- doesn't compiledavve2006-07-101-1/+1
|
* [haddock @ 2005-01-16 15:41:21 by panne]panne2005-01-161-1/+4
| | | | Cleaned up imports and dropped support for GHC < 5.03, it never worked, anyway.
* [haddock @ 2005-01-16 14:37:10 by panne]panne2005-01-161-7/+1
| | | | Refactored Text.PrettyPrint legacy hell into a separate module.
* [haddock @ 2005-01-15 18:44:45 by panne]panne2005-01-151-2/+0
| | | | | | | | | | Make Haddock compile again after the recent base package changed. The Map/Set legacy hell has been factored out, so that all modules can simply use the new non-deprecated interfaces. Probably a lot of things can be improved by a little bit of Map/Set/List algebra, this can be done later if needed. Small note: Currently the list of instances in HTML code is reversed. This will hopefully be fixed later.
* [haddock @ 2003-11-10 16:15:18 by simonmar]simonmar2003-11-101-1/+1
| | | | copyright update
* [haddock @ 2003-10-20 17:19:22 by sof]sof2003-10-201-0/+1
| | | | support for i-parameters + zip comprehensions
* [haddock @ 2003-07-28 14:32:42 by simonmar]simonmar2003-07-281-0/+6
| | | | Update to avoid using hslibs with GHC >= 5.04
* [haddock @ 2002-05-15 13:03:01 by simonmar]simonmar2002-05-151-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reworking of the internals to support documenting function arguments (the Most Wanted new feature by the punters). The old method of keeping parsed documentation in a Name -> Doc mapping wasn't going to cut it for anntations on type components, where there's no name to attach the documentation to, so I've moved to storing all the documentation in the abstract syntax. Previously some of the documentation was left in the abstract syntax by the parser, but was later extracted into the mapping. In order to avoid having to parameterise the abstract syntax over the type of documentation stored in it, we have to parse the documentation at the same time as we parse the Haskell source (well, I suppose we could store 'Either String Doc' in the HsSyn, but that's clunky). One upshot is that documentation is now parsed eagerly, and documentation parse errors are fatal (but have better line numbers in the error message). The new story simplifies matters for the code that processes the source modules, because we don't have to maintain the extra Name->Doc mapping, and it should improve efficiency a little too. New features: - Function arguments and return values can now have doc annotations. - If you refer to a qualified name in a doc string, eg. 'IO.putStr', then Haddock will emit a hyperlink even if the identifier is not in scope, so you don't have to make sure everything referred to from the documentation is imported. - several bugs & minor infelicities fixed.
* [haddock @ 2002-05-08 14:48:39 by simonmar]simonmar2002-05-081-2/+2
| | | | Add support for existential quantifiers on constructors.
* [haddock @ 2002-04-26 11:18:56 by simonmar]simonmar2002-04-261-1/+1
| | | | | | | - support for fundeps (partially contributed by Brett Letner - thanks Brett). - make it build with GHC 4.08.2
* [haddock @ 2002-04-11 13:40:30 by simonmar]simonmar2002-04-111-2/+4
| | | | | | | | | | | | | - copy haddock.css into the same place as the generated HTML - new option: --css <file> specifies the style sheet to use - new option: -o <dir> specifies the directory in which to generate the output. - because Haddock now needs to know where to find its default stylesheet, we have to have a wrapper script and do the haddock-inplace thing (Makefile code copied largely from fptools/happy).
* [haddock @ 2002-04-04 16:23:43 by simonmar]simonmar2002-04-041-0/+158
This is Haddock, my stab at a Haskell documentation tool. It's not quite ready for release yet, but I'm putting it in the repository so others can take a look. It uses a locally modified version of the hssource parser, extended with support for GHC extensions and documentation annotations.