[Haskell-cafe] Could Haddock export documentation with type family applications normalised?
Oliver Charles
ollie at ocharles.org.uk
Sun May 8 11:19:09 UTC 2016
On Tue, May 3, 2016 at 11:43 AM Joachim Breitner <mail at joachim-breitner.de>
wrote:
> Hi,
>
> Am Dienstag, den 03.05.2016, 11:20 +0100 schrieb Oliver Charles:
> > Has this been discussed before? If not, how do people feel about
> > this?
>
> there will be people who want normalised types, and others will want
> the original types, so I expect that we will not agree on one
> particular behavior.
>
> But since the usual scheme is that haddock should print what is written
> in the source, if there is something, then the InstanceSigs extension
> should help you:
> https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/type-cl
> ass-extensions.html#instance-sigs
> <https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/type-class-extensions.html#instance-sigs>
>
> Have you checked if haddock is maybe already paying attention to such
> signatures?
>
Thanks for the type Joachim, I hadn't thought about that extension. I'll
give that a try and see if that gives me the output I desire.
<http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe>
Ollie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160508/c7e4ff48/attachment.html>
More information about the Haskell-Cafe
mailing list