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.

Your work

Log in to submit your work and track progress.