[Haddock] Haddock infers types in some situations but not others?
Richard Silverman
res at qoxp.net
Mon Nov 28 01:44:41 GMT 2011
Hello,
I have a question about Haddock (version 2.9.4). When I give it a module which exports some functions, I don't have to give type signatures for those functions; it uses GHC to infer the types and includes them in the doc. However, if I have it document everything in the module, either by giving an empty export list or using --ignore-all-exports, it does *not* do that. In fact, it only documents functions for which I've given explicit types in the program.
Is there a way to have it include inferred types in the latter situation as well?
Thanks,
- Richard Silverman
res at qoxp.net
More information about the Haddock
mailing list