summaryrefslogtreecommitdiff
path: root/examples/dhtd.hs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dhtd.hs')
-rw-r--r--examples/dhtd.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dhtd.hs b/examples/dhtd.hs
index 2b0191a3..ad90d459 100644
--- a/examples/dhtd.hs
+++ b/examples/dhtd.hs
@@ -76,7 +76,7 @@ import Data.Typeable
76showReport :: [(String,String)] -> String 76showReport :: [(String,String)] -> String
77showReport kvs = showColumns $ map (\(x,y)->[x,y]) kvs 77showReport kvs = showColumns $ map (\(x,y)->[x,y]) kvs
78 78
79showColumns :: [[[Char]]] -> [Char] 79showColumns :: [[String]] -> String
80showColumns rows = do 80showColumns rows = do
81 let cols = transpose rows 81 let cols = transpose rows
82 ws = map (maximum . map (succ . length)) cols 82 ws = map (maximum . map (succ . length)) cols