I understand the <? extends T>
in Java is crudely equivalent to the existential qualifier (∃) but is <? super T>
related to the universal qualifier (∀)?
Feel free to correct me if I'm wrong about ∃.
It's early and I'm confused, so may well be talking nonsense. I could buy that both are existential, as direction need not negate the logic for a "for some" relationship..?
Partially prompted by the fact that List[_]
in Scala is described as existential and that's roughly the same as List<?>
in Java.