>From the help: help?> |> search: |>
.. |>(x, f) Applies a function to the preceding argument. This allows for easy function chaining. .. doctest:: julia> [1:5;] |> x->x.^2 |> sum |> inv 0.01818181818181818 The implementation is quite simple: |>(x, f) = f(x) https://github.com/JuliaLang/julia/blob/master/base/operators.jl#L198