instance Applicative Data.Map

Jake McArthur jake.mcarthur at gmail.com
Wed Nov 14 21:50:00 CET 2012


Sorry for the double send, Henning. I forgot the list.

http://hackage.haskell.org/packages/archive/total-map/0.0.4/doc/html/Data-TotalMap.html


On Wed, Nov 14, 2012 at 2:46 PM, Henning Thielemann <
lemming at henning-thielemann.de> wrote:

>
> An ZipList-like Applicative instance for Data.Map would be nice. I have an
> application where I like to write
>    liftA3 f amap bmap cmap
>  meaning
>    Map.intersectionWith ($) (Map.intersectionWith f amap bmap) cmap
>
> But I cannot complete the instance implementation because there is no
> sensible definition for 'pure' for Data.Map. :-(
>
> ______________________________**_________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/**mailman/listinfo/libraries<http://www.haskell.org/mailman/listinfo/libraries>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20121114/2df883e5/attachment.htm>


More information about the Libraries mailing list