Spent a while trying to abstract a 'pairwise map fn' before realising I'd reinvented fold. At least it's easy to spot familiar abstractions.