ok, gimme a sec

On Nov 8, 2013, at 9:33 AM, Matthew Rocklin <notifications@github.com> wrote:

> In toolz/itertoolz/core.py:
> 
> > @@ -16,7 +16,7 @@ def remove(predicate, coll):
> >      >>> list(remove(iseven, [1, 2, 3, 4]))
> >      [1, 3]
> >      """
> > -    return filter(lambda x: not predicate(x), coll)
> > +    return (x for x in coll if not predicate(x))
> Ah, I meant to fix the definition of remove. The problem is that in Python2.filter is not lazy. We can fix this by importing toolz.compatibility.filter
> 
> —
> Reply to this email directly or view it on GitHub.
>