summaryrefslogtreecommitdiff
path: root/examples/dhtd.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-10-14 16:34:24 -0400
committerjoe <joe@jerkface.net>2017-10-14 16:34:24 -0400
commit4b7f8e625d6cab8ae25074fc3339a5403ec5fb36 (patch)
tree9da87ee15ce14f6347e40b8a9491547edc281c9f /examples/dhtd.hs
parentf1a79aef9799176b52efb6197aaf7c2b5a8f14ad (diff)
Partitioned friend-request transport from the onion transport.
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