From b9bd4ebf77b22d2d9061d647d7799ddcc7c51228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Wed, 9 Dec 2015 23:38:31 +0100 Subject: [PATCH] Fix warning with ghc 7.10 --- src/GHCMod/Options/DocUtils.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GHCMod/Options/DocUtils.hs b/src/GHCMod/Options/DocUtils.hs index 8132d2568..c92a6570f 100644 --- a/src/GHCMod/Options/DocUtils.hs +++ b/src/GHCMod/Options/DocUtils.hs @@ -25,8 +25,9 @@ module GHCMod.Options.DocUtils ( ) where import Options.Applicative -import Data.Monoid (Monoid) -- for ghc<7.10 +import Data.Monoid import Text.PrettyPrint.ANSI.Leijen as PP hiding ((<>), (<$>), (<$$>), int) +import Prelude desc :: [Doc] -> InfoMod a desc = footerDoc . Just . indent 2 . vsep