Thanks for the very clear explanations, I learned a lot. One question: It seems like existential types are just syntactic sugar for dependent pairs. Is there more to them than that?
@thedeemon
3 жыл бұрын
In a dependent pair the first element can be any term, so the pair looks like (x:A, y:B(x)). Here the first element is just a type, a bit simpler thing.
Пікірлер: 4