4 ms·
I think most types for which you would care about type inference in Scala can't even be expressed in Typescript ...
by airless_bar 11y ago
I think most types for which you would care about type inference in Scala can't even be expressed in Typescript ...
- lomnakkus 11y agoYeah. HKTs are one particular instance, though even Scala doesn't necessarily do particularly well on those compared to e.g. Haskell (well, GHC, really). (It seems subtyping and higher-order reasoning just don't mix well. Undecidability abounds, unfortunately. I tend to prefer higher-order reasoning over subtyping.)