| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removes the call to `patSynType :: PatSyn -> Type` in `Convert.hs` as this
function will be removed from GHC. Instead, we use the function `patSynSig`
and build the `HsDecl` manually. This also fixes the printing of the two
contexts and the quantified type variables in a pattern synonym type.
Reviewers: goldfire, bgamari, mpickering
Differential Revision: https://phabricator.haskell.org/D2048
(cherry picked from commit 3ddcbd6b8e6884bd95028381176eb33bee6896fb)
|
|
|
|
| |
(cherry picked from commit bb994de1ab0c76d1aaf1e39c54158db2526d31f1)
|
|
|
|
| |
(cherry picked from commit ab954263a793d8ced734459d6194a5d89214b66c)
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Fix GHC #11588
This fixes GHC #11588:
* Show where ... after closed type families
* Show kind signatures on type family type variables
|
| |
| |
| |
| |
| | |
Seems like we should ideally show the actual equations as well but that
seems like it would be a fair amount of work
|
| |
| |
| |
| | |
Addresses GHC #11588.
|
|/ |
|
|\
| |
| | |
Move documentation to ReStructuredText
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This allows GHC to render `*` as its Unicode representation, among other
things.
|
|\ \ |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Since pull request #407, the identifiers have been permalinked to
themselves, but this makes it difficult to copy the identifier by
double-clicking. To work around this usability problem, the permalinks
are now placed on the far right adjacent to "Source", indicated by "#".
Also, 'namedAnchor' now uses 'id' instead of 'name' (which is obsolete).
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
And fix impredicative Polymorphism testcase.
|
| | |
|
| |
| |
| |
| |
| | |
For reasons I don't understand the Xml representations differ despite
their textual representations being identical.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously un-cleaned artifacts were kept as reference output, making
it difficult to tell what has changed and causing spurious changes in
the version control history. Here we rework this, cleaning the output
during acceptance. To accomplish this it was necessary to move to strict
I/O to ensure the reference handle was closed before accept attempts to
open the reference file.
|
|/ |
|
|\
| |
| | |
Make sure --mathjax affects all written HTML files
|
| |
| |
| |
| | |
This fixes #475.
|
|/ |
|
|
|
|
| |
(cherry picked from commit 17388b0f0029d969d79353be7737eb01c7b8dc5f)
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
" driver/Main.hs
* Moved the response file handling into ResponseFile.hs,
updating import section as appropriate.
* driver/ResponseFile.hs
* New file. In anticipation that maybe some day this could
be provided by another library, and to make it possible
to unit test, this functionality is pulled out of the
Main.hs module, and expanded to support the style/format
of response files which gcc uses.
* The specification for the format of response files which
gcc generates and consumes, seems to be best derived from
the gcc code itself (libiberty/argv.c), so that is what
has been done here.
* This is intended to fix haskell/haddock#379
* driver-test/Main.hs
* New file for testing code in the driver source tree
* driver-test/ResponseFileSpec.hs
* Tests, adapted/adopted from the same gcc code where the
escaping/unescaping is from, in the hspec style of unit
tests
* haddock.cabal
* Add the driver-test test-suite. Introduces a new library
dependency (upon hspec) for the haddock driver target in
the haddock.cabal file, but practically, this should not
be a problem as the haddock-api tests already depend on
hspec.
|
| | |
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
| |\ \
| | | |
| | | | |
Ghc head
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
GHC 8.0 complains otherwise
|
|\ \ \ \ |
|
| | | | | |
|
| | | | | |
|
| | |/ /
| |/| |
| | | |
| | | | |
Adding locations to RdrName in FieldOcc and AmbiguousFieldOcc
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For reasons that aren't entirely clear a class with ambiguous types was
accepted by GHC <8.0. I've added a functional dependency to clear up
this ambiguity.
|
| | | | |
|
|\ \ \ \ |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | |_|/
| |/| | |
|
| | | | |
|