]> gitweb.michael.orlitzky.com - email-validator.git/commitdiff
src/Main.hs: use "mapM_" instead of "_ <- mapM" in one place.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 8 Mar 2019 21:31:55 +0000 (16:31 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 8 Mar 2019 21:31:55 +0000 (16:31 -0500)
src/Main.hs

index 7a57dad3ad9179196dd1465cf16b29e38180106d..5059479679c3d0e593d38196654f7905a57ea730 100644 (file)
@@ -145,7 +145,7 @@ main = do
 
   -- Output the results.
   let valid_addresses = map fst valid_results
-  _ <- mapM (BS.hPutStrLn output_handle) valid_addresses
+  mapM_ (BS.hPutStrLn output_handle) valid_addresses
 
   stopGlobalPool