let regexes = map cidr_to_regex cidrs
putStrLn $ alternate regexes
Reduce -> do
- mapM (putStrLn . show) (combine_all cidrs)
+ _ <- mapM (putStrLn . show) (combine_all cidrs)
return ()
Dupe -> do
- mapM (putStrLn . show) dupes
+ _ <- mapM (putStrLn . show) dupes
return ()
where
dupes = cidrs \\ (combine_all cidrs)
Diff -> do
- mapM putStrLn deletions
- mapM putStrLn additions
+ _ <- mapM putStrLn deletions
+ _ <- mapM putStrLn additions
return ()
where
dupes = cidrs \\ (combine_all cidrs)