Let f be a function of type int -> int that squares its input. What will be the results of (sumTo >> f)(3) and (f >> sumTo)(3)? Try to predict the answers, and then confirm your answers by running the code.
f
int -> int
(sumTo >> f)(3)
(f >> sumTo)(3)
Log in to submit your work and track progress.