I believe I found a typo in “The Amazing Pipe Operator”.
val |> f(a,b)is basically the same as calling
Should it not be
f(val, a, b)?
Please correct me if I’m wrong here but the pipe is meant to prepend the return of the previous function to the arguments of the next, right?