We're wondering about when generating constraints for the application of the identity function. The function body doesn't resolve to the type of the argument passed in. For example, if we have something like
(generate-constraints* (parse '((fun (x) 1) 1))) we can resolve that the function body, and thus the application, is of type t-num. But if we have
(generate-constraints* (parse '((fun (x) x) 1))
should the function body resolve to t-num? If so, what rules would lead to that resolution?
-Alyssa & Sterling
--
--Alyssa Meservy
-"And now, after the many testimonies which have been given of him, this is the testimony, last of all, which we give of him: That he lives!"