You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
connected to issue #37 it worries me a bit to have different implementation for subtype? at compile time and runtime, in addition to that there is a special subtype for type inference.
This needs some research, hopefully with a test library for types (specifically: test without optimizations, test with optimizations, test runtime and compile time type relationship). Somehow subtype? is also connected to loose mode (from dylan/union.dylan [method type-union]):
/* Illegal for loose Mode
subtype?(t1, t2)
=> t2;
subtype?(t2, t1)
=> t1;
*/
instead a new generic method, merge-type is introduced and used here.
The text was updated successfully, but these errors were encountered:
so, there's subtype? in library dylan, which defines the run-time subtype relation. then there is ^subtype? in dfmc-modeling, which contains the compile-time relation. and the type-estimate-subtype? relation in dfmc-typist (used for type inference).
connected to issue #37 it worries me a bit to have different implementation for subtype? at compile time and runtime, in addition to that there is a special subtype for type inference.
This needs some research, hopefully with a test library for types (specifically: test without optimizations, test with optimizations, test runtime and compile time type relationship). Somehow subtype? is also connected to loose mode (from dylan/union.dylan [method type-union]):
/* Illegal for loose Mode
subtype?(t1, t2)
=> t2;
subtype?(t2, t1)
=> t1;
*/
instead a new generic method, merge-type is introduced and used here.
The text was updated successfully, but these errors were encountered: