summaryrefslogtreecommitdiff
path: root/src/Utility/Table.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Utility/Table.hs')
-rw-r--r--src/Utility/Table.hs2
1 files changed, 1 insertions, 1 deletions
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