开发者

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

开发者 https://www.devze.com 2023-03-25 21:22 出处:网络
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

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

精彩评论

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