dev*_*223 -2 haskell
错误是:“firstWords”的类型签名缺少随附的绑定
代码是:
firtstWords :: IO () firstWords = hSetBuffering stdout NoBuffering >> putStrLn "Blah..."
如果我删除类型签名,代码就可以了。
编辑:好的...拼写失败...首先/=首先
mb1*_*b14 5
存在拼写错误first并且firts。这就是类型检查很棒的原因;-)
first
firts
归档时间:
11 年,11 月 前
查看次数:
1573 次
最近记录: