开发者

NonEmpty isn't a Comonad?

开发者 https://www.devze.com 2023-03-08 20:23 出处:网络
Why is the NonEmpty 开发者_Python百科list from the semigroups package not also an instance of the comonad class?It is. The instance is just defined in the comonad package, and not the semigroups packa

Why is the NonEmpty 开发者_Python百科list from the semigroups package not also an instance of the comonad class?


It is. The instance is just defined in the comonad package, and not the semigroups package,

http://hackage.haskell.org/packages/archive/comonad/1.1.0/doc/html/Control-Comonad.html#t:Comonad

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号