]> gitweb.michael.orlitzky.com - email-validator.git/commitdiff
src/Main.hs: use only explicit import lists.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 8 Mar 2019 21:41:53 +0000 (16:41 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 8 Mar 2019 21:41:53 +0000 (16:41 -0500)
src/Main.hs

index 4a0208b05372564cdd6fa6e5d8e9bca116380078..1393d4c0d41aee7983100fd1125975b59d97ec18 100644 (file)
@@ -18,13 +18,13 @@ import qualified Data.ByteString.Char8 as BS (
 import Network.DNS (
   Domain,
   Resolver,
-  ResolvConf(..),
+  ResolvConf( resolvTimeout ),
   defaultResolvConf,
   makeResolvSeed,
   withResolver )
 import Network.DNS.Lookup ( lookupA, lookupMX )
 import System.Directory ( doesFileExist )
-import System.Exit ( exitWith, ExitCode(..) )
+import System.Exit ( exitWith, ExitCode( ExitFailure ) )
 import System.IO (
   IOMode( WriteMode ),
   hClose,
@@ -34,7 +34,9 @@ import System.IO (
   stdout )
 
 
-import CommandLine ( Args(..), get_args )
+import CommandLine (
+  Args( Args, accept_a, input_file, output_file, rfc5322 ),
+  get_args )
 import EmailAddress(
   Address,
   parts,