aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test/src
Commit message (Collapse)AuthorAgeFilesLines
* Export more fixities for Hoogle (#871)Alec Theriault2018-07-201-0/+13
| | | | | | | This exports fixities for more things, including class methods and type-level operators. (cherry picked from commit 88316b972e3d47197b1019111bae0f7f87275fce)
* Refactor handling of parens in types (#874)Alec Theriault2018-07-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | * Fix type parenthesization in Hoogle backend Ported the logic in the HTML and LaTeX backends for adding in parens into something top-level in 'GhcUtil'. Calling that from the Hoogle backend fixes #873. * Remove parenthesizing logic from LaTeX and XHTML backends Now, the only times that parenthesis in types are added in any backend is through the explicit 'HsParTy' constructor. Precedence is also represented as its own datatype. * List out cases explicitly vs. catch-all * Fix printing of parens for QuantifiedConstraints The priority of printing 'forall' types was just one too high. Fixes #877. * Accept HTML output for quantified contexts test
* Remove Hoogle backend hack that butchers infix datatype namesRyan Scott2018-06-131-0/+6
|
* Improve the Hoogle backend's treatment of type families (#808)Ryan Scott2018-04-241-0/+23
| | | Fixes parts 1 and 2 of #806.
* Add regression test for #413Ryan Scott2018-04-242-0/+6
| | | | Fixes #413.
* hoogle-test/AssocTypes: Allow AmbiguousTypesBen Gamari2015-12-241-0/+1
| | | | GHC 8.0 complains otherwise
* Create simple test cases for Hoogle backend.Ɓukasz Hanuszczak2015-08-225-0/+72