Question: 6. Consider the function pair x y = (x,y) What is its type? (5 points). Why can x and y correspond to different types here,

6. Consider the function pair x y = (x,y) What is its type? (5 points). Why can "x" and "y" correspond to different types here, as well? (5 points) 7. Consider the function double x = x*2 What is its type? (5 points). Why are there the particular class constraints on "x" and the return type of "double"? (5 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
