• + 0 comments

    Nice. Vscode extension 'Haskutil' recommended shorten slightly to this

      n <- readLn
      mapM_ (putStrLn . unwords . map show) $ tri n