[Haskell-cafe] Could Haddock export documentation with type family applications normalised?
Joachim Breitner
mail at joachim-breitner.de
Tue May 3 10:43:24 UTC 2016
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
Have you checked if haddock is maybe already paying attention to such
signatures?
Greetings,
Joachim
--
Joachim “nomeata” Breitner
mail at joachim-breitner.de • https://www.joachim-breitner.de/
XMPP: nomeata at joachim-breitner.de • OpenPGP-Key: 0xF0FBF51F
Debian Developer: nomeata at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160503/6b63a2af/attachment.sig>
More information about the Haskell-Cafe
mailing list