[commit: haddock] master: Display minimal complete definitions for type classes (eaf0a0b)

git at git.haskell.org git at git.haskell.org
Thu Mar 13 19:59:17 UTC 2014


Repository : ssh://git@git.haskell.org/haddock

On branch  : master
Link       : http://git.haskell.org/haddock.git/commitdiff/eaf0a0b51f452398f3c64882a334f90b920df794

>---------------------------------------------------------------

commit eaf0a0b51f452398f3c64882a334f90b920df794
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.


>---------------------------------------------------------------

eaf0a0b51f452398f3c64882a334f90b920df794
 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 eaf0a0b51f452398f3c64882a334f90b920df794


More information about the ghc-commits mailing list