Skip to content
Prev 393516 / 398503 Next

Pipe operator

Keep in mind that in thie example you're processing x and placing the 
result back in x (so x must already exist). You can write this a bit 
more cleanly using the -> variant of the assignment operator as follows:

   x |> cos() |> max(pi/4) |> round(3) -> x

Hth,
Andrew.
On 3/01/2023 16:00, Boris Steipe wrote: