Partially applied `Iterators.filter`

Is there a reason that the partially applied Iterators.filter(f) does not exist while Base.filter(f) does exist?

It seems that the implementation

Iterators.filter(f::Function) = Base.Fix1(Iterators.filter, f)

should be easy enough to add.

Related and solved since 1.9: Why no single argument `filter(f::function)`?

1 Like