From b84c9bbb7c9db688118ad756c1c43ef034fd98fb Mon Sep 17 00:00:00 2001 From: Mario Lang Date: Sun, 13 Sep 2015 00:46:49 +0200 Subject: Follow some hlint suggestions. --- src/Utility/Table.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Utility/Table.hs') diff --git a/src/Utility/Table.hs b/src/Utility/Table.hs index 20adf40d..6d4c045b 100644 --- a/src/Utility/Table.hs +++ b/src/Utility/Table.hs @@ -26,4 +26,4 @@ formatTable table = map (\r -> unwords (map pad (zip r colsizes))) table sumcols (map (map length) table) sumcols [] = repeat 0 sumcols [r] = r - sumcols (r1:r2:rs) = sumcols $ map (uncurry max) (zip r1 r2) : rs + sumcols (r1:r2:rs) = sumcols $ zipWith max r1 r2 : rs -- cgit v1.2.3