aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test/ref/Bug873/test.txt
Commit message (Collapse)AuthorAgeFilesLines
* Refactor handling of parens in types (#874)Alec Theriault2018-07-201-0/+26
* 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