Multiplication tables: Difference between revisions
Content added Content deleted
m (→{{header|Haskell}}: Adjusted tabulation function) |
|||
Line 2,346: | Line 2,346: | ||
main :: IO () |
main :: IO () |
||
main = putStrLn |
main = (putStrLn . unlines . table " " . multTable) 12</lang> |
||
{{Out}} |
{{Out}} |
||
<pre> 1: 1 2 3 4 5 6 7 8 9 10 11 12 |
<pre> 1: 1 2 3 4 5 6 7 8 9 10 11 12 |