I have an expression
[1:5;] .|> [x->x^2, inv, x->2*x, -, isodd]
taken from Julia documentation.
The output is
5-element Vector{Real}:
1
0.5
6
-4
true
Can somebody explain the chain of operations on each elements 1:5 in detail.
I did not understand why 1 is converted to 1 and 5 is converted to true.