diff options
author | Simon Marlow <marlowsd@gmail.com> | 2010-07-14 12:37:11 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2010-07-14 12:37:11 +0000 |
commit | b7be72f3058311fbfe1cfa8109e482d32dd44d79 (patch) | |
tree | 5178cbd466248cc4959794a99378fba1d66d6462 /src | |
parent | 8a74f84ddfa0b6255790daf1a07e77fa0aa1514a (diff) |
fix warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/Haddock/Backends/LaTeX.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Haddock/Backends/LaTeX.hs b/src/Haddock/Backends/LaTeX.hs index e349e594..04a139e7 100644 --- a/src/Haddock/Backends/LaTeX.hs +++ b/src/Haddock/Backends/LaTeX.hs @@ -501,7 +501,7 @@ ppClassDecl instances loc mbDoc subdocs ppClassDecl _ _ _ _ _ _ = error "declaration type not supported by ppShortClassDecl" ppDocInstances :: Bool -> [DocInstance DocName] -> LaTeX -ppDocInstances unicode [] = empty +ppDocInstances _unicode [] = empty ppDocInstances unicode (i : rest) | Just ihead <- isUndocdInstance i = declWithDoc (vcat (map (ppInstDecl unicode) (ihead:is))) Nothing $$ |