aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Interface/LexParseRn.hs
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2020-03-22 11:46:42 -0400
committerAlec Theriault <alec.theriault@gmail.com>2020-03-22 11:46:42 -0400
commit5bef8bd8a72465a0abb1753a8bbeb94634a9d698 (patch)
treedb2abb1fe471b49c7501ffafce22cef1a95e74c8 /haddock-api/src/Haddock/Interface/LexParseRn.hs
parentdec888641006eb685a642ec489b198c61a5736dc (diff)
Clean up warnings
* unused imports * imports of `Data.List` without import lists * missing `CompatPrelude` file in `.cabal`
Diffstat (limited to 'haddock-api/src/Haddock/Interface/LexParseRn.hs')
-rw-r--r--haddock-api/src/Haddock/Interface/LexParseRn.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Interface/LexParseRn.hs b/haddock-api/src/Haddock/Interface/LexParseRn.hs
index 0b40ed3c..08a3c0f8 100644
--- a/haddock-api/src/Haddock/Interface/LexParseRn.hs
+++ b/haddock-api/src/Haddock/Interface/LexParseRn.hs
@@ -22,7 +22,7 @@ module Haddock.Interface.LexParseRn
import Control.Arrow
import Control.Monad
import Data.Functor (($>))
-import Data.List
+import Data.List (maximumBy, (\\))
import Data.Ord
import Documentation.Haddock.Doc (metaDocConcat)
import DynFlags (languageExtensions)