Proposal: Make amap an IArray method
David Feuer
david.feuer at gmail.com
Fri Nov 14 21:30:25 UTC 2014
I realized what I wrote about amap earlier was utterly boneheaded, because
it has the wrong type for fmap. The only way to accomplish my goal is to
make Data.Array.IArray.amap a method of the IArray class. This will allow
IArray instances to offer optimized versions and things like amap/coerce
rules. The current implementation of amap can become the default one.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20141114/b12647ff/attachment-0001.html>
More information about the Libraries
mailing list