aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/LaTeX.hs
Commit message (Collapse)AuthorAgeFilesLines
* Track changes to follow Trac #14529Simon Peyton Jones2017-12-071-70/+4
| | | | This tracks the refactoring of HsDecl.ConDecl.
* Revert "Match changes for Trees that Grow in GHC"Ben Gamari2017-11-211-25/+25
| | | | This reverts commit 01eeeb048acd2dd05ff6471ae148a97cf0720547.
* Revert "Clean up use of PlaceHolder, to match TTG"Ben Gamari2017-11-211-1/+1
| | | | This reverts commit 134a7bb054ea730b13c8629a76232d73e3ace049.
* Clean up use of PlaceHolder, to match TTGAlan Zimmerman2017-11-141-1/+1
|
* Match changes for Trees that Grow in GHCAlan Zimmerman2017-11-071-25/+25
|
* Overhaul Haddock's rendering of kind signatures (#681)Ryan Scott2017-10-241-8/+8
| | | | | | | | | | | | | | | * 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
* Make compatible with Prelude.<> export in GHC 8.4/base-4.11Herbert Valerio Riedel2017-09-211-0/+1
|
* Merge remote-tracking branch 'origin/master' into ghc-headalexbiehl2017-08-211-8/+25
|\
| * Move `DocMarkup` from haddock-api to haddock-library (#659)Alexander Biehl2017-07-311-0/+1
| | | | | | | | | | | | | | | | | | | | * Move `DocMarkup` from haddock-api to haddock-library * Move more markup related functions * Markup module * CHANGELOG
| * Haddock support for bundled pattern synonyms (#627)Christiaan Baaij2017-06-091-8/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | Match new AST as per GHC wip/new-tree-one-paramAlan Zimmerman2017-06-051-47/+47
|/ | | | See https://ghc.haskell.org/trac/ghc/wiki/ImplementingTreesThatGrow
* HsIParamTy now has a Located nameAlan Zimmerman2017-01-101-1/+1
|
* Match changes in GHC wip/T3384 branchAlan Zimmerman2016-12-071-2/+4
|
* Add support for unboxed sumsÖmer Sinan Ağacan2016-07-211-0/+5
|
* GhcUtils: Changes for multi-pattern signaturesBen Gamari2016-07-011-6/+6
|
* Render Haddocks for derived instancesRyan Scott2016-05-041-0/+1
| | | | | | | | | | 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-1/+1
|
* Merge remote-tracking branch 'idontgetoutmuch/ghc-head' into ghc-headBen Gamari2015-12-251-0/+6
|\
| * Fix the documentation for haddock itself.Dominic Steinitz2015-12-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+3
| |
* | Follow removal of NamedWildCard from HsTypeSimon Peyton Jones2015-12-221-2/+0
| |
* | Update for GHC trac#11258Alan Zimmerman2015-12-201-1/+1
|/ | | | Adding locations to RdrName in FieldOcc and AmbiguousFieldOcc
* WarningsMatthew Pickering2015-12-141-2/+1
|
* Update for type=kindsRichard Eisenberg2015-12-141-4/+5
|
* Matching changes for #11028Alan Zimmerman2015-12-141-3/+68
|
* Update to match GHC wip/T11019Alan Zimmerman2015-12-141-2/+2
|
* More adaption to wildcard-refactorSimon Peyton Jones2015-12-141-1/+1
|
* Work on updating Haddock to wip/spj-wildard-recactorSimon Peyton Jones2015-12-141-87/+56
| | | | Still incomplete
* Roughly fix up haddock for DuplicateRecordFields changesAdam Gundry2015-12-141-4/+7
| | | | | This compiles, but will probably need more work to produce good documentation when the DuplicateRecordFields extension is used.
* HsBang is split into HsSrcBang and HsImplBangAdam Sandberg Eriksson2015-12-141-3/+1
| | | | | With recent changes in GHC handling of strictness annotations in Haddock is simplified.
* StrictData: changes in HsBang typeAdam Sandberg Eriksson2015-12-141-5/+5
|
* StrictData: print correct strictness marksAdam Sandberg Eriksson2015-12-141-2/+5
|
* Update after wild card renaming refactoring in D613Thomas Winant2015-12-141-5/+7
| | | | | | | | | | | | | | | 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 changes in HsSyn for quasi-quotesSimon Peyton Jones2015-12-141-1/+0
|
* Attach associated types information to instance header.Łukasz Hanuszczak2015-08-211-1/+1
|
* Integrate instance specification type into class instance definition.Łukasz Hanuszczak2015-08-211-1/+1
|
* Refactor instance head type to record instead of a meaningless tuple.Łukasz Hanuszczak2015-08-211-6/+8
|
* Attach to instance location the name that has the same location filejpmoresmau2015-06-121-2/+2
| | | | Fixes #383
* Follow API changes in D538Alan Zimmerman2015-01-231-11/+11
| | | | | Signed-off-by: Austin Seipp <aseipp@pobox.com> (cherry picked from commit d61bbc75890e4eb0ad508b9c2a27b91f691213e6)
* Links to source location of class instance definitionsjpmoresmau2015-01-221-2/+2
|
* Support for PartialTypeSignaturesThomas Winant2014-12-121-10/+17
| | | | | | | 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-11/+18
| | | | | | | | | 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-37/+33
| | | | | | Conflicts: haddock-api/src/Haddock/Backends/Xhtml/Decl.hs haddock-api/src/Haddock/Convert.hs
* Followup changes to addition of -fwarn-context-quantification (GHC Trac #4426)Krzysztof Gogolewski2014-12-121-1/+4
|
* Allow the parser to spit out meta-infoMateusz Kowalczyk2014-12-101-6/+7
| | | | | | | | | | | | | | | Currently we only use it only for ‘since’ annotations but with these patches it should be fairly simple to add new attributes if we wish to. Closes #26. It seems to work fine but due to 7.10 rush I don't have the chance to do more exhaustive testing right now. The way the meta is output (emphasis at the end of the whole comment) is fairly arbitrary and subject to bikeshedding. Note that this makes test for Bug310 fail due to interface version bump: it can't find the docs for base with this interface version so it fails. There is not much we can do to help this because it tests for ’built-in’ identifier, not something we can provide ourselves.
* Move sources under haddock-api/srcMateusz Kowalczyk2014-08-231-0/+1221