2 ms·
It seems that you can either fight subtyping (by avoiding it) or embrace it; e.g. with pure subtype system: http://people.tamu.edu/~hiraditya/index_files/ProgL
by seanmcdirmid 11y ago
It seems that you can either fight subtyping (by avoiding it) or embrace it; e.g. with pure subtype system:
http://people.tamu.edu/~hiraditya/index_files/ProgLang_Presentation.pdf http://people.tamu.edu/~hiraditya/index_files/ProgLang_Prese...
You do exchange a typing judgment for a subtyping one.
I feel like we haven't really looked at subtyping enough. It might not be so hard as it is different, that our existing type systems simply aren't suited to it but we could come up with subtype systems that are.