Applicative functors other than monads and ZipList?

前端 未结 7 867
小鲜肉
小鲜肉 2020-12-31 07:36

Two well-known examples of applicatives are monads and ziplists. Are there any other examples?

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-31 08:38

    McBride and Paterson http://www.soi.city.ac.uk/~ross/papers/Applicative.pdf show that a monoid can be treated as an applicative functor, but in general case it is not a monad.

提交回复
热议问题