filter(::Function)::Function
could return a function with single argument:
julia> import Base: filter
julia> filter(f::Function)::Function = x -> filter(f, x)
filter (generic function with 9 methods)
julia> 1:9 |> filter(isodd)
5-element Array{Int64,1}:
1
3
5
7
9