[Python-ideas] Haskell envy
nathan.alexander.rice at gmail.com
Wed Apr 25 04:03:43 CEST 2012
Why not repeat the same practice as is currently in place for range,
enumerate, etc. Take 3 arguments, the iterables, the repeat minimum
size and the repeat maximum size. If the third argument is None, just
treat the minimum as the maximum (yielding the current behavior).
Most things in python have gobs of keyword arguments and most of
itertools has relatively few. I don't think it is going to harm
anyone to give them a few more toys to play with.
More information about the Python-ideas