RosettaCodeData/Task/Identity-matrix/Haskell/identity-matrix-2.hs

3 lines
74 B
Haskell
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
showMat :: [[Int]] -> String
showMat = unlines . map (unwords . map show)