f[x_] = x^2;
Scan[Print[f[#]] &, {1, 2, 3}]
I want to do something like this, but I don't want to type so many brackets. I'd like to have something like
f[x_] = x^2;
Scan[f[#] //Print &, {1, 2, 3}]
But this doesn't work. What's the correct symbol/method, to pipe the output of f[#] to Print ?
Sorry I googled "mathematica pipe output" but I don't think I'm using the correct keywords. But linux users have the terminology of "piping".