getContents,
pack,
words )
-import Data.List ( (\\), intersperse, sort )
+import Data.List ( (\\), intercalate, sort )
import Network.DNS (
DNSError(NameError),
Domain,
-- Create one big string by joining together a list of smaller
-- strings and placing a delimiter between them.
join :: String -> [String] -> String
- join delimiter strings = concat (intersperse delimiter strings)
+ join delimiter strings = intercalate delimiter strings
main :: IO ()
results <- parallelInterleaved actions
-- Output the results.
- _ <- mapM (report nrml_delegates normalize_function) results
+ mapM_ (report nrml_delegates normalize_function) results
stopGlobalPool