[Numeric] New Haddock
Dominic Steinitz
dominic at steinitz.org
Mon Jun 6 13:03:04 UTC 2016
I couldn’t find an announcement of the new version of Haddock. You can now document your libraries even more beautifully. For
example,
> -- \[
> -- f(k;n,p) = \Pr(X = k) = \binom n k p^k(1-p)^{n-k}
> -- \]
will render as
https://hackage.haskell.org/package/random-fu-0.2.7.0/docs/Data-Random-Distribution-Binomial.html#v:integralBinomialPDF <https://hackage.haskell.org/package/random-fu-0.2.7.0/docs/Data-Random-Distribution-Binomial.html#v:integralBinomialPDF>
Also don’t forget you can put really nice diagrams in your documentation e.g. http://hackage.haskell.org/package/diagrams-contrib-1.3.0.7/docs/Diagrams-Example-Logo.html <http://hackage.haskell.org/package/diagrams-contrib-1.3.0.7/docs/Diagrams-Example-Logo.html> and http://hackage.haskell.org/package/diagrams-contrib-1.3.0.7/docs/Diagrams-TwoD-Layout-Tree.html <http://hackage.haskell.org/package/diagrams-contrib-1.3.0.7/docs/Diagrams-TwoD-Layout-Tree.html>.
Dominic Steinitz
dominic at steinitz.org
http://idontgetoutmuch.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/numeric/attachments/20160606/818cdac4/attachment.html>
More information about the Numeric
mailing list