légèrement simplifié
This commit is contained in:
parent
0fa7141e6a
commit
3e4f7aa8be
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user