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.
miniblog.
Related Posts
Discovered furl https://github.com/gruns/furl, a Python library for nicely manipulating URLs (query string etc). I've reinvented it several times.