Closed chsievers closed 9 years ago
inferPrim has to apply the substitution when calling unify. Test case: \f n -> if True then n else (f (n+1))
This could really be the last one for type inference.
LGTM. I'll try and canonize the pathological cases for poly in the test.ml.
poly
test.ml
inferPrim has to apply the substitution when calling unify. Test case: \f n -> if True then n else (f (n+1))
This could really be the last one for type inference.