Sort out imports for earlier GHC versions

This commit is contained in:
Alan Zimmerman 2016-02-29 21:24:30 +02:00
parent 45eb3b8d4c
commit 04b75e2bde

View File

@ -1,3 +1,4 @@
{-# LANGUAGE CPP #-}
-- ghc-mod: Making Haskell development *more* fun
-- Copyright (C) 2015 Nikolay Yakimov <root@livid.pp.ru>
--
@ -22,12 +23,14 @@ module Language.Haskell.GhcMod.Options.Options (
) where
import Options.Applicative
import Options.Applicative.Help.Chunk
import Options.Applicative.Types
import Language.Haskell.GhcMod.Types
import Control.Arrow
import Data.Char (toUpper, toLower)
import Data.List (intercalate)
#if __GLASGOW_HASKELL__ < 710
import Data.Monoid (mempty)
#endif
import Language.Haskell.GhcMod.Read
import Language.Haskell.GhcMod.Options.DocUtils
import Language.Haskell.GhcMod.Options.Help