aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | Keep forall on H98 existential data constructors (#1003)Alec Theriault2019-01-232-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The information about whether or not there is a source-level `forall` is already available on a `ConDecl` (as `con_forall`), so we should use it instead of always assuming `False`! Fixes #1002.
| | | * | Print kinded tyvars in constructors for Hoogle (#993)Alec Theriault2019-01-071-2/+8
| | | | | | | | | | | | | | | Fixes #992
| | | * | Load plugins when compiling each module (#983)Alec Theriault2018-12-201-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WIP: Load (typechecker) plugins from language pragmas * Revert "Load plugins when starting a GHC session (#905)" This reverts commit 72d82e52f2a6225686d9668790ac33c1d1743193. * Simplify plugin initialization code
| | | * | More uniform handling of `forall`'s in HTML/LaTeXAlec Theriault2018-11-262-60/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * don't forget to print explicit `forall`'s when there are arg docs * when printing an explicit `forall`, print all tyvars Fixes #973
| | | * | Rename 'NewOcean' theme to 'Linuwial'Alec Theriault2018-11-111-1/+1
| | | | |
| | * | | Fix bogus identifier defaultingAlec Theriault2019-02-261-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids a situation in which an identifier would get defaulted to a completely different identifier. Prior to this commit, the 'Bug1035' test case would hyperlink 'Foo' into 'Bar'! Fixes #1035.
| | * | | Better identifier parsingAlec Theriault2019-02-2510-65/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * '(<|>)' and '`elem`' now get parsed and rendered properly as links * 'DbModule'/'DbUnitId' now properly get split apart into two links * tuple names now get parsed properly * some more small niceties... The identifier parsing code is more precise and more efficient (although to be fair: it is also longer and in its own module). On the rendering side, we need to pipe through information about backticks/parens/neither all the way through from renaming to the backends. In terms of impact: a total of 35 modules in the entirety of the bootlib + ghc lib docs change. The only "regression" is things like '\0'. These should be changed to @\\0@ (the path by which this previously worked seems accidental).
| | * | | Support value/type namespaces on identifier linksAlec Theriault2019-02-254-21/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Identifier links can be prefixed with a 'v' or 't' to indicate the value or type namespace of the desired identifier. For example: -- | Some link to a value: v'Data.Functor.Identity' -- -- Some link to a type: t'Data.Functor.Identity' The default is still the type (with a warning about the ambiguity)
| * | | | Define `XRec` for location information and get rid of `HasSrcSpan`Sebastian Graf2019-11-011-16/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In https://gitlab.haskell.org/ghc/ghc/merge_requests/1970 I propose a simpler way to encode location information into the GHC and Haddock AST while incurring no cost for e.g. TH which doesn't need location information. These are just changes that have to happen in lock step.
* | | | | Match GHC, adding IsUnicodeSyntax field to HsFunTy and HsScaledAlan Zimmerman2020-10-216-17/+20
| | | | | | | | | | | | | | | | | | | | (cherry picked from commit a7d1d8e034d25612d5d08ed8fdbf6f472aded4a1)
* | | | | Updates for the new linear types syntax: a %p -> bVladislav Zavialov2020-09-301-0/+1
| | | | |
* | | | | Bump GHC version to 9.0Ben Gamari2020-07-281-1/+1
| |_|_|/ |/| | |
* | | | Sync with GHC removing {-# CORE #-} pragmaKrzysztof Gogolewski2020-07-121-2/+0
| | | | | | | | | | | | | | | | See ghc ticket #18048
* | | | Update for UniqFM changes.Andreas Klebinger2020-07-021-7/+8
| | | |
* | | | Handle LexicalNegation's ITprefixminusVladislav Zavialov2020-06-281-0/+1
| | | |
* | | | Adapt Haddock for QualifiedDoMatthías Páll Gissurarson2020-06-261-2/+2
| | | |
* | | | Use functions exported from HsToCoreZubin Duggal2020-06-215-224/+4
| | | |
* | | | Adapt Haddock to LinearTypesKrzysztof Gogolewski2020-06-1712-71/+117
| | | | | | | | | | | | | | | | See ghc/ghc!852.
* | | | Use HsForAllTelescope (GHC#18235)Ryan Scott2020-06-1310-112/+198
| | | |
* | | | Merge pull request #1202 from hsyl20/wip/hsyl20/unitid-iiBen Gamari2020-06-096-30/+29
|\ \ \ \ | | | | | | | | | | Fix after unit refactoring
| * | | | Fix after unit refactoringSylvain Henry2020-06-086-30/+29
| | | | |
* | | | | Changes for GHC#18191Ryan Scott2020-06-053-3/+6
|/ / / / | | | | | | | | | | | | See https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3337.
* | | | Merge pull request #1185 from obsidiansystems/boot-disambigBen Gamari2020-05-291-56/+57
|\ \ \ \ | | | | | | | | | | isBootSummary now produces a result of type IsBootInterface
| * | | | isBootSummary now produces a result of type IsBootInterfaceCale Gibbard2020-05-211-56/+57
| | | | |
| * | | | Explicit Specificity Support for HaddockGert-Jan Bottu2020-05-158-68/+123
| | | | |
* | | | | update for hiefile-typeclass-infoZubin Duggal2020-05-241-14/+20
| | | | |
* | | | | Explicit Specificity Support for HaddockGert-Jan Bottu2020-05-208-68/+123
|/ / / /
* | | | Atomic update of NameCache in readHieFileZubin Duggal2020-05-041-3/+5
| | | |
* | | | add dependency on exceptions because GHC.Exception was boiled down (ghc #18075)Artem Pelenitsyn2020-05-032-6/+2
| | | |
* | | | Fix for GHC.Unit.* modulesSylvain Henry2020-04-2710-13/+12
| | | |
* | | | UnitId has been renamed into UnitSylvain Henry2020-04-276-17/+17
| | | |
* | | | Renamed UnitInfo fieldsSylvain Henry2020-04-272-4/+4
| | | |
* | | | Module structureSylvain Henry2020-04-2423-51/+47
| | | |
* | | | Merge remote-tracking branch 'origin/ghc-head' into wip/ttg-con-patCale Gibbard2020-04-208-15/+15
|\ \ \ \
| * | | | Module renamingSylvain Henry2020-04-108-15/+15
| | | | |
* | | | | Rename XCollectPat -> CollectPassCale Gibbard2020-04-142-4/+4
| | | | |
* | | | | Add instance of XCollectPat for DocNameICale Gibbard2020-04-142-1/+4
|/ / / /
* | | | Make NoExtCon fields strictRyan Scott2020-04-078-57/+1
| | | | | | | | | | | | | | | | | | | | These changes are a part of a fix for [GHC#17992](https://gitlab.haskell.org/ghc/ghc/issues/17992).
* | | | Module renaming: amend previous patchSylvain Henry2020-04-053-3/+3
| | | |
* | | | Modules: type checkerSylvain Henry2020-03-303-4/+4
| | | |
* | | | Merge commit '3c2944c037263b426c4fe60a3424c27b852ea71c' into HEADBen Gamari2020-03-2311-16/+16
|\ \ \ \ | | | | | | | | | | | | | | | More changes from the GHC types module refactoring.
| * | | | Modules: TypesSylvain Henry2020-03-2027-89/+89
| | | | |
* | | | | Modules: TypesSylvain Henry2020-03-1827-89/+89
|/ / / /
* | | | Merge pull request #1130 from hsyl20/wip/hsyl20-modules-core2Ben Gamari2020-03-165-19/+19
|\ \ \ \ | | | | | | | | | | Modules: Core (#13009)
| * | | | Modules: Core (#13009)Sylvain Henry2020-03-025-19/+19
| | | | |
* | | | | Changes in GHC's !1913.Richard Eisenberg2020-03-092-5/+5
|/ / / /
* | | | Ignore the BufLoc/BufSpan added in GHC's !2516Vladislav Zavialov2020-02-285-12/+14
| | | |
* | | | Modules: Core (#13009)Sylvain Henry2020-02-251-1/+1
| | | |
* | | | Merge remote-tracking branch 'upstream/ghc-head' into HEADBen Gamari2020-02-231-1/+1
|\ \ \ \
| * \ \ \ Merge pull request #1129 from obsidiansystems/wip/fix-stage1-buildBen Gamari2020-02-181-1/+1
| |\ \ \ \ | | | | | | | | | | | | Fix build of haddock in stage1