diff options
author | Ben Gamari <ben@smart-cactus.org> | 2015-08-10 13:18:05 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-08-10 13:18:05 +0200 |
commit | b42db9318b156c9daf2ff819557bbceef2f14ef2 (patch) | |
tree | 56cfb6502b0b6ce76af8427249f35ce1ebf0f294 /haddock-api/src/Haddock/Backends/Xhtml | |
parent | 3436273f6e87d9358f6c23ad5b6b2838ce573892 (diff) | |
parent | 62f3a12863121fa5b6c2787185e62cfa3f44bdd6 (diff) |
Merge pull request #433 from adamse/split-hsbang
HsBang is split into HsSrcBang and HsImplBang
Diffstat (limited to 'haddock-api/src/Haddock/Backends/Xhtml')
-rw-r--r-- | haddock-api/src/Haddock/Backends/Xhtml/Decl.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs b/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs index 21ef167b..b2b6f904 100644 --- a/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs +++ b/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs @@ -768,9 +768,7 @@ ppDataHeader _ _ _ _ = error "ppDataHeader: illegal argument" -------------------------------------------------------------------------------- -ppBang :: HsBang -> Html -ppBang HsStrict = toHtml "!" -ppBang (HsUnpack {}) = toHtml "!" +ppBang :: HsSrcBang -> Html ppBang (HsSrcBang _ _ SrcStrict) = toHtml "!" ppBang (HsSrcBang _ _ SrcLazy) = toHtml "~" ppBang _ = noHtml |