<feed xmlns='http://www.w3.org/2005/Atom'>
<title>haddock.git/hoogle-test/ref/Bug873, branch ghc-9.2</title>
<subtitle>Haddock with an org backend (haddorg).
</subtitle>
<id>https://g.ypei.me/haddock.git/atom?h=ghc-9.2</id>
<link rel='self' href='https://g.ypei.me/haddock.git/atom?h=ghc-9.2'/>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/'/>
<updated>2022-05-06T16:44:57+00:00</updated>
<entry>
<title>remove Bug873</title>
<updated>2022-05-06T16:44:57+00:00</updated>
<author>
<name>Hécate Moonlight</name>
<email>hecate+github@glitchbra.in</email>
</author>
<published>2022-05-06T16:44:57+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=5d0a0edc31b8c20cc2e1cc234a0394a3bfba5f9b'/>
<id>urn:sha1:5d0a0edc31b8c20cc2e1cc234a0394a3bfba5f9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Miscellaneous improvements to `Convert` (#1020)</title>
<updated>2019-02-04T06:58:58+00:00</updated>
<author>
<name>Alec Theriault</name>
<email>alec.theriault@gmail.com</email>
</author>
<published>2019-02-04T06:58:58+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=aa9644fc4179de044557438f2bd3003642750a97'/>
<id>urn:sha1:aa9644fc4179de044557438f2bd3003642750a97</id>
<content type='text'>
Now that Haddock is moving towards working entirely over `.hi` and `.hie` files,
all declarations and types are going to be synthesized via the `Convert` module.
In preparation for this change, here are a bunch of fixes to this module:

  * Add kind annotations to type variables in `forall`'s whose kind is not `Type`,
    unless the kind can be inferred from some later use of the variable. See
    `implicitForAll` and `noKindTyVars` in particular if you wish to dive into this.

  * Properly detect `HsQualTy` in `synifyType`. This is done by following suit with
    what GHC's `toIfaceTypeX` does and checking the first argument of
    `FunTy{} :: Type` to see if it classified as a given/wanted in the typechecker
    (see `isPredTy`). 

  * Beef up the logic around figuring out when an explicit `forall` is needed. This
    includes: observing if any of the type variables will need kind signatures, if the
    inferred type variable order _without_ a forall will still match the one GHC
    claims, and some other small things.

  * Add some (not yet used) functionality for default levity polymorphic type
    signatures. This functionality similar to `fprint-explicit-runtime-reps`.

Couple other smaller fixes only worth mentioning:

  * Show the family result signature only when it isn't `Type`
  * Fix rendering of implicit parameters in the LaTeX and Hoogle backends
  * Better handling of the return kind of polykinded H98 data declarations
  * Class decls produced by `tyThingToLHsDecl` now contain associated type
    defaults and default method signatures when appropriate
  * Filter out more `forall`'s in pattern synonyms</content>
</entry>
<entry>
<title>Fix warnings, accept output</title>
<updated>2018-12-12T16:42:09+00:00</updated>
<author>
<name>Alec Theriault</name>
<email>alec.theriault@gmail.com</email>
</author>
<published>2018-12-12T16:34:57+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=d66a17f3d7552ccd82b5b4b491013f9ac9498966'/>
<id>urn:sha1:d66a17f3d7552ccd82b5b4b491013f9ac9498966</id>
<content type='text'>
* remove redundant imports (only brought to light due to recent work for
  improving redundant import detection)
* fix a bug that was casuing exports to appear in reverse order
* fix something in haddock-library that prevented compilation on old GHC's
</content>
</entry>
<entry>
<title>Refactor handling of parens in types (#874)</title>
<updated>2018-07-20T10:01:16+00:00</updated>
<author>
<name>Alec Theriault</name>
<email>alec.theriault@gmail.com</email>
</author>
<published>2018-07-20T10:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/haddock.git/commit/?id=953e3eb86b57f468c68d6ec0c651e8b3feda1518'/>
<id>urn:sha1:953e3eb86b57f468c68d6ec0c651e8b3feda1518</id>
<content type='text'>
* 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
</content>
</entry>
</feed>
