0

foo.hs

 import Control.Applicative

然后

 fay foo.hs

返回

Could not find module `Control.Applicative'
It is a member of the hidden package `base'.
Use -v to see a list of the files searched for.

Fay 中是否可以进行应用程序编程?

4

1 回答 1

0

Fay 没有类型类。我们认为,如果有人想使用应用程序,他们可以单态地实现运算符。如果我们提供一些默认应用程序,这将导致名称冲突。

有关类型类支持状态的更多信息,请参阅此 wiki 页面

于 2014-07-05T14:49:00.443 回答