Per-module extension flags and language listing.
Any extensions that are not enabled by a used language (Haskell2010 &c) will be shown. Furthermore, any implicitly enabled are also going to be shown. While we could eliminate this either by using the GHC API or a dirty hack, I opted not to: if a user doesn't want the implied flags to show, they are recommended to use enable extensions more carefully or individually. Perhaps this will encourage users to not enable the most powerful flags needlessly. Enabled with show-extensions. Conflicts: src/Haddock/InterfaceFile.hs
Showing
- html-test/ref/Extensions.html 89 additions, 0 deletionshtml-test/ref/Extensions.html
- html-test/src/Extensions.hs 7 additions, 0 deletionshtml-test/src/Extensions.hs
- resources/html/Classic.theme/xhaddock.css 13 additions, 7 deletionsresources/html/Classic.theme/xhaddock.css
- resources/html/Ocean.std-theme/ocean.css 11 additions, 5 deletionsresources/html/Ocean.std-theme/ocean.css
- src/Haddock/Backends/LaTeX.hs 2 additions, 1 deletionsrc/Haddock/Backends/LaTeX.hs
- src/Haddock/Backends/Xhtml.hs 31 additions, 13 deletionssrc/Haddock/Backends/Xhtml.hs
- src/Haddock/Interface/Create.hs 15 additions, 10 deletionssrc/Haddock/Interface/Create.hs
- src/Haddock/Interface/LexParseRn.hs 11 additions, 3 deletionssrc/Haddock/Interface/LexParseRn.hs
- src/Haddock/Interface/ParseModuleHeader.hs 3 additions, 2 deletionssrc/Haddock/Interface/ParseModuleHeader.hs
- src/Haddock/InterfaceFile.hs 12 additions, 3 deletionssrc/Haddock/InterfaceFile.hs
- src/Haddock/Options.hs 6 additions, 2 deletionssrc/Haddock/Options.hs
- src/Haddock/Types.hs 9 additions, 2 deletionssrc/Haddock/Types.hs
Loading
Please register or sign in to comment