A confusing problem of pipe

There was recently an announcement of new piping package DataPipes.jl by @aplavin.

Wondering if code below is a proper way of writing requested task:

using DataPipes 
@p begin
    "hello-world julia" |>
    split(_, [' ', '-'])
    filter.(isletter,↑)
    first.(↑)
    uppercase.(↑)
    join
end

result seems correct at least: "HWJ"

3 Likes