3 ms·
> How are GATs any less theoretically well founded than HKT? I'm not aware of their having been studied to the same extent, so I don't have the same level of c
by lmm 7y ago
> How are GATs any less theoretically well founded than HKT?
I'm not aware of their having been studied to the same extent, so I don't have the same level of confidence that they are well-behaved. For example, is there a known algorithm for doing perfect type inference in the presence of GAT? What about when we add in subtyping, or higher-rank types? Maybe it's all going to be fine, but the further you stray from the path that's been trodden by PLT research, the more I'd worry about falling down a hole.
- steveklabnik 7y agoGotcha. My understanding was that they were, but not my area of expertise.