Type Inference Zoo
109 points 3 comments 4 days ago
flashgordon
This is amazing. I've been wanting to do this for ages (even tried a few times and failed a few times). Great to see this.
This is amazing. I've been wanting to do this for ages (even tried a few times and failed a few times). Great to see this.
It is crazy how much work comes out of Bruno Oliveira’s research groups.
Another cool online thing that exists is CP, a language with disjoint intersection and union types:
https://github.com/yzyzsun/CP-next
TypeScript has this functionality.
Additionally, Scala 3 does as well, including support for these generic "Type-Lambda" expressions I saw in one of the examples on the playground:
https://beta.plground.org/jnclma/CP_tutorial
In Scala 3, this would be roughly: https://docs.scala-lang.org/scala3/reference/new-types/type-...