Non-decimal radices/Output: Difference between revisions
Content added Content deleted
m (→{{header|Haskell}}: (updated baseDigits function)) |
|||
Line 603: | Line 603: | ||
((\col -> |
((\col -> |
||
let width = maximum (length <$> col) |
let width = maximum (length <$> col) |
||
justifyRight n c s = drop (length s) (replicate n c |
justifyRight n c s = drop (length s) (replicate n c <> s) |
||
in justifyRight width ' ' <$> col) <$> |
in justifyRight width ' ' <$> col) <$> |
||
transpose rows) |
transpose rows) |