aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-09-08 17:44:24 +0200
committerIgor Pashev <pashev.igor@gmail.com>2019-09-08 17:47:35 +0200
commit573e2ebf4975c80f413d4c3ed03d973443449beb (patch)
treebad55a89cb2c34b0492b456920c14c4b43d31d24
parent815d792c9a095ccffc7f01391836d3e5e6fc6f72 (diff)
downloadfrotate.hs-master.tar.gz
Use Control.Applicative explicitlyHEADmaster
-rw-r--r--src/Main.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 09aeb99..8cd83cc 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -2,14 +2,13 @@ module Main
( main
) where
+import Control.Applicative ((<**>), (<|>), optional, some)
import System.Exit (exitFailure)
import System.IO (hPutStrLn, stderr)
import Data.Time.Calendar (Day)
import Options.Applicative
( Parser
- , (<**>)
- , (<|>)
, argument
, auto
, execParser
@@ -21,10 +20,8 @@ import Options.Applicative
, long
, metavar
, option
- , optional
, short
, showDefault
- , some
, value
)