aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Interface
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #504 from Helkafen/issue-280Sebastian Méric de Bellefon2016-05-281-1/+1
|\ | | | | Fix #280. Parsing of module header
| * Fix #280. Parsing of module headerSebastian Meric de Bellefon2016-05-151-1/+1
| | | | | | | | The initial newlines were counted as indentation spaces, thus disturbing the parsing of next lines
* | Remove misplaced haddock commentalexbiehl2016-05-261-1/+1
| |
* | Don't consider default class ops when looking for declsBen Gamari2016-05-221-2/+7
| | | | | | | | | | When we are looking for an operation within a class we don't care about `default`-type declarations. This was the cause of #505.
* | Create: Better debug outputBen Gamari2016-05-221-1/+4
| | | | | | | | For tracking down #505
* | Create: Remove redundant importsBen Gamari2016-05-221-2/+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)
* 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
* | 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
* | ApiAnnotations : strings in warnings do not return SourceTextAlan Zimmerman2015-12-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The strings used in a WARNING pragma are captured via strings :: { Located ([AddAnn],[Located FastString]) } : STRING { sL1 $1 ([],[L (gl $1) (getSTRING $1)]) } .. The STRING token has a method getSTRINGs that returns the original source text for a string. A warning of the form {-# WARNING Logic , mkSolver , mkSimpleSolver , mkSolverForLogic , solverSetParams , solverPush , solverPop , solverReset , solverGetNumScopes , solverAssertCnstr , solverAssertAndTrack , solverCheck , solverCheckAndGetModel , solverGetReasonUnknown "New Z3 API support is still incomplete and fragile: \ \you may experience segmentation faults!" #-} returns the concatenated warning string rather than the original source.
* | Track the new location of setRdrNameSpaceSimon Peyton Jones2015-12-141-1/+2
| |
* | 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
| |
* | Eliminate instanceHead' in favour of GHC's instanceSigSimon Peyton Jones2015-12-141-15/+1
|/ | | | | This is made possible by the elimination of "silent superclass parameters" in GHC
* Add support for sugaring built-in function syntax.Łukasz Hanuszczak2015-08-211-1/+4
|
* Add basic support for sugaring infix type operators.Łukasz Hanuszczak2015-08-211-1/+7
|
* Add some documentation for instance head specializer.Łukasz Hanuszczak2015-08-211-0/+2
|
* Refactor specializer module to be independent from XHTML backend.Łukasz Hanuszczak2015-08-211-0/+396
|
* 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-212-8/+13
|