开发者

Why isn't Haskell's Data.Vector an instance of Traversable?

Don't understand, if Data.Map is and [] is. I found this out while wondering why开发者_如何学编程 I need Data.Vector.mapM for vectors and Data.Traversable.mapM for maps.


There are orphan instances on hackage.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜