[ANN] DataPipes.jl 0.3.0

Yes it kind of neatly falls into place in this case.

Another approach to “the problem of __” is to define versions of common functions which return a function:

Base.map(f::Function) = xs->map(f, xs)
Base.filter(f::Function) = xs->filter(f, xs)

Then we’d have

julia> data = 5:12
5:12

julia> @_  data         |>
           filter(_>10) |>
           map(_^2)
2-element Vector{Int64}:
 121
 144

This is type piracy, of course! But this version of Base.filter isn’t defined, and though Base.map(f::Function) is defined the existing definition of mapping over zero collections seems pretty useless.