légèrement simplifié

master
karchnu 2016-01-16 01:24:46 +01:00
parent 0fa7141e6a
commit 3e4f7aa8be
1 changed files with 1 additions and 1 deletions

View File

@ -10,4 +10,4 @@ completeMatrix m = map (\e -> e ++ [""| _ <- [length e..nb]]) m
main = do
content <- getContents
putStr $ unlines $ map unwords $ (L.transpose . (\x -> map formatLine x) . L.transpose . completeMatrix) $ map words $ lines content
putStr $ unlines $ map unwords $ L.transpose $ map formatLine $ L.transpose $ completeMatrix $ map words $ lines content