我定义了这个功能 NewLine
NewLine
NewLine :: String -> String NewLine (x:xs)=if (x=='\n') then xs else NewLine xs
它给了我一个无效的类型签名错误,但我不明白为什么.
haskell
haskell ×1