Hacker News new | ask | show | jobs
by im3w1l 3742 days ago
That doesn't work on an iterator.
1 comments

Cool! When you need it to work on an input that's an iterator, please submit a patch with a doctest. That's one of the important benefits of reusable code.