[commit: haddock] v2.14: Display minimal complete definitions for type classes (1c8c2f2)
git at git.haskell.org
git at git.haskell.org
Thu Mar 13 19:58:45 UTC 2014
Repository : ssh://git@git.haskell.org/haddock
On branch : v2.14
Link : http://git.haskell.org/haddock.git/commitdiff/1c8c2f249d4e9ef6eed93721876f9e7a65b09a77
>---------------------------------------------------------------
commit 1c8c2f249d4e9ef6eed93721876f9e7a65b09a77
Author: Niklas Haas <git at nand.wakku.to>
Date: Thu Mar 13 08:53:41 2014 +0100
Display minimal complete definitions for type classes
This corresponds to the new {-# MINIMAL #-} pragma present in GHC 7.8+.
I also cleaned up some of the places in which ExportDecl is used to make
adding fields easier in the future.
Lots of test cases have been updated since they now render with
minimality information.
>---------------------------------------------------------------
1c8c2f249d4e9ef6eed93721876f9e7a65b09a77
html-test/ref/DeprecatedClass.html | 16 ++
html-test/ref/Hash.html | 8 +
html-test/ref/Minimal.html | 273 ++++++++++++++++++++++++++++++++++
html-test/ref/Test.html | 14 ++
html-test/ref/Ticket61.html | 8 +
html-test/src/Test.hs | 1 +
src/Haddock/Backends/Hoogle.hs | 6 +-
src/Haddock/Backends/LaTeX.hs | 6 +-
src/Haddock/Backends/Xhtml.hs | 6 +-
src/Haddock/Backends/Xhtml/Decl.hs | 28 +++-
src/Haddock/Backends/Xhtml/Layout.hs | 4 +
src/Haddock/Convert.hs | 5 +-
src/Haddock/GhcUtils.hs | 11 +-
src/Haddock/Interface/Create.hs | 41 +++--
src/Haddock/Interface/Rename.hs | 1 +
15 files changed, 398 insertions(+), 30 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 1c8c2f249d4e9ef6eed93721876f9e7a65b09a77
More information about the ghc-commits
mailing list