Re:A Flexible Type System for Fearless Concurrency
by mafribe on Sunday May 14, 2023 @08:23AM
(#35937441)
This is true, but higher-order functions and polymorphism are extremely well-understood. (Including that there are various compromises with type-inference when you combine them with other constructs),
https://www.cs.cornell.edu/andru/papers/gallifrey-types/appe...
For real-world languages, this is even more involved, and existing formalizations only cover supposedly distinct sub-languages, not the full language (with the risk being that there are unexpected interactions). Most languages also have complicated things like higher-order functions or some form of polymorphism, and the new type system would have to be integrated with that.