-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
scala3Related to scala 3 engineRelated to scala 3 engine
Description
Variable bindings should be redesigned. ATM our bindings work in a specific way and map any bound B on variable A to logical condition A =:= B. This is not enough.
The easiest solution would be to make it work in a similar way the compiler does this:
Remember the type of bound and for every variable have a low and high bound.
Things to consider before/during the implementation:
- Performance may be an issue since we have to evaluate more complicated checks.
- This problem is IMHO nontrivial. e.g. Case of a bound depending on another type variable.
Metadata
Metadata
Assignees
Labels
scala3Related to scala 3 engineRelated to scala 3 engine