Proposal #3999: Improved folds for Data.Map and Data.IntMap
Louis Wasserman
wasserman.louis at gmail.com
Tue Apr 27 14:26:46 EDT 2010
Apologies, this is with 6.12.1. The HEAD appears to work correctly, though.
Will submit a bug report to double-check.
Louis Wasserman
wasserman.louis at gmail.com
http://profiles.google.com/wasserman.louis
On Mon, Apr 26, 2010 at 10:26 PM, Roman Leshchinskiy <rl at cse.unsw.edu.au>wrote:
> On 27/04/2010, at 03:20, Louis Wasserman wrote:
>
> > I'm not sure why you don't just use curry directly here. Also, why not
> just implement toAscList like in the rule and INLINE it?
> > I concede that using curry directly is the better approach, but when I
> implement toAscList as in the rule and inline it, it doesn't actually appear
> to get inlined. (Example: mapKeysWith, which is defined as fromListWith c .
> List.map fFirst . toList, doesn't actually fold/build with the map.)
>
> Is this with 6.12 or the HEAD? In any case, could you please submit a bug
> report so that Simon can have a look at it.
>
> Roman
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/libraries/attachments/20100427/045e9240/attachment.html
More information about the Libraries
mailing list