📍 (Değiştir)
E-Posta
🎤
Dinleniyor...
favicon
docs.hhvm.com
Variance | Hack & HHVM Documentation

Hack supports both generic covariance and contravariance on a type parameter.

favicon
hhvm.com
Covariance, Contravariance, and super Type Constraints | HHVM

Hack has recently enhanced its generics with two features: variance annotations and super type constraints. In this post, I’ll explain how they work and why ...