如何在String中创建换行符?没有使用可能IO ()吗?
IO ()
formatRow :: Car -> String formatRow (a, d:ds, c, x:xs) = a ++ " | " ++ x ++ concat xs ++ " | " ++ show c ++ " | " ++ d ++ concat ds ++ (show '\n')
string haskell newline
haskell ×1
newline ×1
string ×1