diff --git a/src/Main.hs b/src/Main.hs index 0bbb519..25aab3f 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -1,8 +1,11 @@ {-# LANGUAGE NamedFieldPuns #-} +{-# LANGUAGE CPP #-} module Main where import Control.Applicative (many, optional) +#if !MIN_VERSION_base(4,11,0) import Data.Monoid ((<>)) +#endif import qualified Data.Text as Text (unpack) import Data.Version (showVersion) import Options.Applicative (