aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Interface
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Better Backpack support with signature merging.Edward Z. Yang2017-03-151-12/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we merge signatures, we gain exports that don't necessarily have a source-level declaration corresponding to them. This meant Haddock dropped them. There are two big limitations: * If there's no export list, we won't report inherited signatures. * If the type has a subordinate, the current hiDecl implementation doesn't reconstitute them. These are probably worth fixing eventually, but this gets us to minimum viable functionality. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | | TODO on moduleExports.Edward Z. Yang2017-03-151-1/+5
| | | | | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | | More docs.Edward Z. Yang2017-03-151-0/+5
| | | | | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | | Documentation.Edward Z. Yang2017-03-151-5/+22
| | | | | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | | Add a field marking if interface is a signature or not.Edward Z. Yang2017-03-151-0/+1
| | | | | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | | Correctly handle Backpack identity/semantic modules.Edward Z. Yang2017-03-151-23/+55
| | | | | | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | | Adapt to EnumSetBen Gamari2017-03-151-1/+2
| | |
* | | Update Haddock w.r.t. new HsImplicitBndrsRichard Eisenberg2017-03-141-1/+2
| |/ |/|
* | Changes to match #13163 in GHCAlan Zimmerman2017-01-261-4/+4
| |
* | Matching changes for GHC wip/T12942Alan Zimmerman2016-12-121-10/+18
| |
* | Match changes in GHC wip/T3384 branchAlan Zimmerman2016-12-073-15/+15
| |
* | Haddock changes for T10598Ryan Scott2016-09-302-3/+7
| | | | | | | | See https://ghc.haskell.org/trac/ghc/ticket/10598
* | Add support for unboxed sumsÖmer Sinan Ağacan2016-07-212-0/+2
| |
* | GhcUtils: Changes for multi-pattern signaturesBen Gamari2016-07-011-3/+3
| |
* | Follow GHC re-adding FunTySimon Peyton Jones2016-06-151-6/+7
| |
* | Follow changes to LHsSigWcTypeSimon Peyton Jones2016-06-132-4/+4
| |
* | Merge remote-tracking branch 'RyanGlScott/ghc-head' into ghc-headBen Gamari2016-05-112-11/+32
|\ \
| * | Render Haddocks for derived instancesRyan Scott2016-05-042-11/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, one can document top-level instance declarations, but derived instances (both those in `deriving` clauses and standalone `deriving` instances) do not enjoy the same privilege. This makes the necessary changes to the Haddock API to enable rendering Haddock comments for derived instances. This is part of a fix for Trac #11768.
* | | Merge remote-tracking branch 'origin/master' into ghc-headBen Gamari2016-05-111-1/+1
|\ \ \ | |/ / |/| / | |/
| * Create: Mark a comment as TODOBen Gamari2016-05-101-1/+1
| |
| * Changes due to fix for GHC#11648.Richard Eisenberg2016-03-151-2/+2
| | | | | | | | (cherry picked from commit bb994de1ab0c76d1aaf1e39c54158db2526d31f1)
* | Track change to HsGroupSimon Peyton Jones2016-04-201-2/+2
| | | | | | | | This relates to a big GHC patch for Trac #11348
* | Changes due to fix for GHC#11648.Richard Eisenberg2016-03-141-2/+2
|/
* Add missing importBen Gamari2015-12-261-0/+1
|
* Merge remote-tracking branch 'idontgetoutmuch/ghc-head' into ghc-headBen Gamari2015-12-251-0/+2
|\
| * Fix the documentation for haddock itself.Dominic Steinitz2015-12-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change notation and add support for inline math. Allow newlines in display math. Add a command line option for the mathjax url (you might want to use a locally installed version). Rebase tests because of extra url and version change. Respond to (some of the) comments. Fix warnings in InterfaceFile.hs
| * Handle inline math with mathjax.Dominic Steinitz2015-12-211-0/+1
| |
* | Merge remote-tracking branch 'origin/ghc-head' into ghc-headBen Gamari2015-12-231-1/+0
|\ \
| * | Follow removal of NamedWildCard from HsTypeSimon Peyton Jones2015-12-221-1/+0
| |/
* | Merge remote-tracking branch 'phadej/orphans' into ghc-headBen Gamari2015-12-203-10/+31
|\ \ | |/ |/|
| * Have source links for orphan instancesOleg Grenrus2015-09-281-12/+8
| |
| * Generate docs for orphan instancesOleg Grenrus2015-09-273-17/+41
| |
* | Fix fallout from wildcards refactoringBen Gamari2015-12-162-3/+7
| | | | | | | | | | | | | | | | | | | | | | The wildcard refactoring was introduced a new type of signature, `ClassOpSig`, which is carried by typeclasses. The original patch adapting Haddock for this change missed a few places where this constructor needed to be handled, resulting in no class methods in documentation produced by Haddock. Additionally, this moves and renames the `isVanillaLSig` helper from GHC's HsBinds module into GhcUtils, since it is only used by Haddock.
* | Update for D1200Ben Gamari2015-12-161-2/+3
| |
* | WarningsMatthew Pickering2015-12-143-8/+6
| |
* | Changes to compile with 8.0Matthew Pickering2015-12-142-42/+40
| |
* | Update for type=kindsRichard Eisenberg2015-12-142-13/+23
| |
* | Matching changes for #11028Alan Zimmerman2015-12-142-17/+24
| |
* | Canonicalise Monad instancesHerbert Valerio Riedel2015-12-141-2/+2
| |
* | Update to match GHC wip/T11019Alan Zimmerman2015-12-142-6/+6
| |
* | Undo msHsFilePath change.Edward Z. Yang2015-12-141-3/+1
| | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | Change for IEThingWithMatthew Pickering2015-12-141-1/+1
| |
* | Matching change GHC #11017 BooleanFormula locatedAlan Zimmerman2015-12-142-3/+5
| |
* | Follow changes to HsTYpeSimon Peyton Jones2015-12-142-61/+38
| | | | | | | | Not yet complete (but on a wip/ branch)
* | Track wip/spj-wildcard-refactor on main repoSimon Peyton Jones2015-12-141-18/+43
| |
* | Roughly fix up haddock for DuplicateRecordFields changesAdam Gundry2015-12-142-9/+16
| | | | | | | | | | This compiles, but will probably need more work to produce good documentation when the DuplicateRecordFields extension is used.
* | s/PackageKey/UnitId/g and s/packageKey/unitId/gEdward Z. Yang2015-12-141-5/+5
| | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | Track msHsFilePath change.Edward Z. Yang2015-12-141-1/+3
| | | | | | | | Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
* | Follow changes from #6018Jan Stolarek2015-12-141-6/+28
| |
* | Replace (SourceText,FastString) with WithSourceText data typeAlan Zimmerman2015-12-141-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Phab:D907 introduced SourceText for a number of data types, by replacing FastString with (SourceText,FastString). Since this has an Outputable instance, no warnings are generated when ppr is called on it, but unexpected output is generated. See Phab:D1096 for an example of this. Replace the (SourceText,FastString) tuples with a new data type data WithSourceText = WithSourceText SourceText FastString Trac ticket: #10692