Proposal reminder: Add functions to get consecutive elements to Data.List

Bardur Arantsson spam at scientician.net
Thu May 19 18:44:56 UTC 2016


On 05/19/2016 08:38 PM, David Feuer wrote:
> I think I like mapPairwise. And I really will try to get a proper list
> fusion implementation for this if it goes in. The rewrite-back rules are
> always a bit of a pain.
> 

Another name option might be to use "mapAdjacent" or similar. (Though
actually, perhaps "pairwise" is more descriptive.)

Regards,



More information about the Libraries mailing list