aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Interface/Rename.hs
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Match changes for Trees that Grow in GHC"Ben Gamari2017-11-211-37/+35
| | | | This reverts commit 01eeeb048acd2dd05ff6471ae148a97cf0720547.
* Revert "Clean up use of PlaceHolder, to match TTG"Ben Gamari2017-11-211-23/+22
| | | | This reverts commit 134a7bb054ea730b13c8629a76232d73e3ace049.
* Clean up use of PlaceHolder, to match TTGAlan Zimmerman2017-11-141-22/+23
|
* Match changes for Trees that Grow in GHCAlan Zimmerman2017-11-071-35/+37
|
* Overhaul Haddock's rendering of kind signatures (#681)Ryan Scott2017-10-241-2/+0
| | | | | | | | | | | | | | | * Overhaul Haddock's rendering of kind signatures * Strip off kind signatures when specializing As an added bonus, this lets us remove an ugly hack specifically for `(->)`. Yay! * Update due to 0390e4a0f61e37bd1dcc24a36d499e92f2561b67 * @alexbiehl's suggestions * Import injectiveVarsOfBinder from GHC
* Update for #14131Ryan Scott2017-08-231-27/+42
|
* Merge remote-tracking branch 'origin/master' into ghc-headalexbiehl2017-08-211-3/+9
|\
| * Haddock support for bundled pattern synonyms (#627)Christiaan Baaij2017-06-091-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Haddock support for bundled pattern synonyms * Add fixities to bundled pattern synonyms * Add bundled pattern synonyms to the synopsis * Store bundled pattern fixities in expItemFixities * Add test for bundled pattern synonyms * Stop threading fixities * Include bundled pattern synonyms for re-exported data types Sadly, fixity information isn't found for re-exported data types * Support for pattern synonyms * Modify tests after #631 * Test some reexport variations * Also lookup bundled pattern synonyms from `InstalledInterface`s * Check isExported for bundled pattern synonyms * Pattern synonym is exported check * Always look for pattern synonyms in the current module Another overlooked cornercase * Account for types named twice in export lists Also introduce a fast function for nubbing on a `Name` and use it throughout the code base. * correct fixities for reexported pattern synonyms * Fuse concatMap and map * Remove obsolete import * Add pattern synonyms to visible exports * Fix test * Remove corner case
| * Update Haddock w.r.t. new HsImplicitBndrsRichard Eisenberg2017-03-141-1/+2
| |
* | Rename extension index tagsAlan Zimmerman2017-06-051-39/+39
| |
* | Match new AST as per GHC wip/new-tree-one-paramAlan Zimmerman2017-06-051-43/+43
| | | | | | | | See https://ghc.haskell.org/trac/ghc/wiki/ImplementingTreesThatGrow
* | Update Haddock w.r.t. new HsImplicitBndrsRichard Eisenberg2017-03-141-1/+2
|/
* Matching changes for GHC wip/T12942Alan Zimmerman2016-12-121-10/+18
|
* Match changes in GHC wip/T3384 branchAlan Zimmerman2016-12-071-2/+2
|
* Haddock changes for T10598Ryan Scott2016-09-301-1/+4
| | | | See https://ghc.haskell.org/trac/ghc/ticket/10598
* Add support for unboxed sumsÖmer Sinan Ağacan2016-07-211-0/+1
|
* GhcUtils: Changes for multi-pattern signaturesBen Gamari2016-07-011-3/+3
|
* Follow changes to LHsSigWcTypeSimon Peyton Jones2016-06-131-2/+2
|
* Render Haddocks for derived instancesRyan Scott2016-05-041-0/+10
| | | | | | | | | | 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.
* Changes due to fix for GHC#11648.Richard Eisenberg2016-03-141-2/+2
|
* 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-201-9/+17
|\ \ | |/ |/|
| * Generate docs for orphan instancesOleg Grenrus2015-09-271-9/+16
| |
* | Fix fallout from wildcards refactoringBen Gamari2015-12-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Changes to compile with 8.0Matthew Pickering2015-12-141-2/+2
| |
* | Update for type=kindsRichard Eisenberg2015-12-141-6/+6
| |
* | Matching changes for #11028Alan Zimmerman2015-12-141-12/+16
| |
* | Canonicalise Monad instancesHerbert Valerio Riedel2015-12-141-2/+2
| |
* | Update to match GHC wip/T11019Alan Zimmerman2015-12-141-5/+5
| |
* | Matching change GHC #11017 BooleanFormula locatedAlan Zimmerman2015-12-141-1/+3
| |
* | Follow changes to HsTYpeSimon Peyton Jones2015-12-141-27/+24
| | | | | | | | 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-141-2/+6
| | | | | | | | | | This compiles, but will probably need more work to produce good documentation when the DuplicateRecordFields extension is used.
* | Follow changes from #6018Jan Stolarek2015-12-141-6/+28
| |
* | Update after wild card renaming refactoring in D613Thomas Winant2015-12-141-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: * Move `Post*` type instances to `Haddock.Types` as other modules than `Haddock.Interface.Rename` will rely on these type instances. * Update after wild card renaming refactoring in D613. Reviewers: simonpj, austin Reviewed By: austin Differential Revision: https://phabricator.haskell.org/D954 GHC Trac Issues: #10098
* | Track API changes to support empty closed type familesAdam Gundry2015-12-141-1/+1
| |
* | Track changes in HsSyn for quasi-quotesSimon Peyton Jones2015-12-141-4/+0
|/
* Make instance details record use new type for family declarations.Łukasz Hanuszczak2015-08-211-1/+11
|
* Attach associated types information to instance header.Łukasz Hanuszczak2015-08-211-4/+5
|
* Integrate instance specification type into class instance definition.Łukasz Hanuszczak2015-08-211-1/+4
|
* Move dummy post-family instances for `DocName` to `Types` module.Łukasz Hanuszczak2015-08-211-12/+0
|
* Refactor instance head type to record instead of a meaningless tuple.Łukasz Hanuszczak2015-08-211-7/+12
|
* Attach to instance location the name that has the same location filejpmoresmau2015-06-121-2/+3
| | | | Fixes #383
* Follow API changes in D538Alan Zimmerman2015-01-231-9/+9
| | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> (cherry picked from commit d61bbc75890e4eb0ad508b9c2a27b91f691213e6)
* Sort out some module import warningsMateusz Kowalczyk2015-01-221-2/+1
|
* Links to source location of class instance definitionsjpmoresmau2015-01-221-2/+2
|
* Support for PartialTypeSignaturesThomas Winant2014-12-121-6/+8
| | | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs haddock-api/src/Haddock/Interface/Create.hs
* Follow API changes in D426Alan Zimmerman2014-12-121-12/+14
| | | | | | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> Conflicts: haddock-api/src/Haddock/Backends/LaTeX.hs haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs
* Update Haddock to new pattern synonym type signature syntaxDr. ERDI Gergo2014-12-121-6/+4
| | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs