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.
Showing
- html-test/ref/DeprecatedClass.html 16 additions, 0 deletionshtml-test/ref/DeprecatedClass.html
- html-test/ref/Hash.html 8 additions, 0 deletionshtml-test/ref/Hash.html
- html-test/ref/Minimal.html 273 additions, 0 deletionshtml-test/ref/Minimal.html
- html-test/ref/Test.html 14 additions, 0 deletionshtml-test/ref/Test.html
- html-test/ref/Ticket61.html 8 additions, 0 deletionshtml-test/ref/Ticket61.html
- html-test/src/Test.hs 1 addition, 0 deletionshtml-test/src/Test.hs
- src/Haddock/Backends/Hoogle.hs 5 additions, 1 deletionsrc/Haddock/Backends/Hoogle.hs
- src/Haddock/Backends/LaTeX.hs 3 additions, 3 deletionssrc/Haddock/Backends/LaTeX.hs
- src/Haddock/Backends/Xhtml.hs 3 additions, 3 deletionssrc/Haddock/Backends/Xhtml.hs
- src/Haddock/Backends/Xhtml/Decl.hs 23 additions, 5 deletionssrc/Haddock/Backends/Xhtml/Decl.hs
- src/Haddock/Backends/Xhtml/Layout.hs 4 additions, 0 deletionssrc/Haddock/Backends/Xhtml/Layout.hs
- src/Haddock/Convert.hs 3 additions, 2 deletionssrc/Haddock/Convert.hs
- src/Haddock/GhcUtils.hs 10 additions, 1 deletionsrc/Haddock/GhcUtils.hs
- src/Haddock/Interface/Create.hs 26 additions, 15 deletionssrc/Haddock/Interface/Create.hs
- src/Haddock/Interface/Rename.hs 1 addition, 0 deletionssrc/Haddock/Interface/Rename.hs
Loading
Please register or sign in to comment