mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 18:30:42 +00:00
delete todo and comment, make long example inferrable
This commit is contained in:
parent
ffac808366
commit
6fa50cbf31
@ -63,9 +63,6 @@ public class TypeInferenceResult {
|
||||
}
|
||||
}
|
||||
return typeVar;
|
||||
// TODO: correct?
|
||||
// throw new IllegalStateException("MGU has to contain substitution for original type variable: "
|
||||
// + typeVar.toString());
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -23,7 +23,7 @@ public class ExampleDialog extends Dialog implements LocaleChangeObserver {
|
||||
|
||||
private static final List<String> EXAMPLES =
|
||||
List.of("λx.x", "λx.λy.y x", "λx.λy.y (x x)", "let f = λx. g y y in f 3", "(λx.x x) (λx.x x)",
|
||||
"(λx.λy.y (x x)) (λz. λa. z g a)");
|
||||
"(λx.λy.y (x y)) (λz. λa. z g a)");
|
||||
private final Paragraph instruction;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user