From 0cd29c5729ac770964b76ffbb14d54cf75094f2f Mon Sep 17 00:00:00 2001 From: "grigorii.kirgizov" Date: Tue, 5 Feb 2019 13:01:53 +0300 Subject: [PATCH] lc: Add type inference dependencies ('require' things) to output the same types for local type inf. Some renames. Types from local & non-local type inf differ in 2 cases: - different type variables names - non-local typecheck fails, but some types still get to output --- .../samples.lambdacalc/models/types.mps | 282 ++++++++++++------ 1 file changed, 192 insertions(+), 90 deletions(-) diff --git a/samples/lambdacalc/languages/samples.lambdacalc/models/types.mps b/samples/lambdacalc/languages/samples.lambdacalc/models/types.mps index b86c3bc3..2e2a7224 100644 --- a/samples/lambdacalc/languages/samples.lambdacalc/models/types.mps +++ b/samples/lambdacalc/languages/samples.lambdacalc/models/types.mps @@ -2302,6 +2302,15 @@ + + + + + + + + + @@ -2536,37 +2545,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2789,40 +2767,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -3174,6 +3118,16 @@ + + + + + + + + + + @@ -3188,6 +3142,11 @@ + + + + + @@ -3243,6 +3202,7 @@ + @@ -3337,15 +3297,15 @@ - - + + - - + + @@ -3898,6 +3858,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -6803,7 +6819,7 @@ - + @@ -6848,7 +6864,7 @@ - + @@ -6979,7 +6995,7 @@ - + @@ -7038,7 +7054,7 @@ - + @@ -8834,6 +8850,12 @@ + + + + + + @@ -8908,11 +8930,32 @@ + + + + + + + + + + + + + + + + + + + + + @@ -9317,6 +9360,14 @@ + + + + + + + + @@ -9671,6 +9722,16 @@ + + + + + + + + + + @@ -9945,6 +10006,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -10495,23 +10586,9 @@ - - - - - - - - - - - - - - - - - + + + @@ -10838,6 +10915,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + +