Question: ( c ) ( 1 point ) Write down the type of let rec f x y = if x then { f y ,
c point Write down the type of
let rec f x y if x then f y y else y f x
If you believe typing checking this function fails with "mismatched types", write "mis matched types". If you believe this function should trigger the occurscheck exception in our type inference algorithm in Assignment write "occurscheck exception".
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
