Proposal: Add a strict version of foldlWithKey to Data.Map

Ian Lynagh igloo at
Sat Aug 21 07:45:11 EDT 2010

On Wed, Aug 18, 2010 at 02:00:39PM +0200, Johan Tibell wrote:
> The current API doesn't offer any efficient way to do something simple as
> e.g. summing the values in a map. I suggest we add a foldlWithKey' function:

Shouldn't (go z l) be forced too?


More information about the Libraries mailing list