Coprime triplets: Difference between revisions
m
→{{header|Haskell}}
Line 186:
( spacedTable
justifyRight
(chunksOf 10 (
)
Line 194:
(Int -> Char -> String -> String) -> [[String]] -> String
spacedTable aligned rows =
(`aligned` '
(maximum . fmap length <$> transpose rows)
▲ in unlines $
<$>
justifyRight :: Int -> Char -> String -> String
|