Hacker News new | past | comments | ask | show | jobs | submit login

Julia has a pipe operator, which applies a function to the preceding argument:

julia> 1:5 |> x->x.^2 |> x->2x

5-element Array{Int64,1}:

  2
  8
 18
 32
 50



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: