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

Joachim Breitner mail at
Wed Apr 13 10:21:52 UTC 2016


Am Mittwoch, den 13.04.2016, 10:23 +0200 schrieb Frerich Raabe:
> For what it's worth, the function for combining adjacent elements is 
> sometimes called 'pairwise' in Python, maybe based on this list of
> recipes:
> Maybe that's a viable naming alternative?

thanks for digging that up. It’s worth considering, and has a more
pleasant tone to it. OTOH "pairwise" could maybe more likely be thought
to mean [(x1,x2),(x3,x4),..]


Joachim “nomeata” Breitner
  mail at joachim-breitner.de
  XMPP: nomeata at • OpenPGP-Key: 0xF0FBF51F
  Debian Developer: nomeata at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Libraries mailing list