[core libraries] Proposal: add fusion RULES for Data.Map.mapMaybe
ekmett at gmail.com
Thu Nov 21 20:28:27 UTC 2013
Makes sense to me.
On Wed, Nov 20, 2013 at 2:40 AM, Akio Takano <tkn.akio at gmail.com> wrote:
> Currently mapMaybe does not fuse at all. The attached patch implements
> necessary rules for fold/build fusion in both sides (the result and the
> second argument) to happen. When fusion does not happen, the function
> should behave exactly the same as before.
> I ran some benchmarks, testing cases where fusion does and does not happen:
> The benchmark code is:
> Discussion period: 2 weeks.
> Thank you,
> Takano Akio
> You received this message because you are subscribed to the Google Groups
> "haskell-core-libraries" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to haskell-core-libraries+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries