I'm not sure I see a solution that's clean.  What did you have in mind for `toolz/toolz/recipes.py`?