Effect CommunityEC
Effect Community3y ago
32 replies
wojtek

Composition Rule for Covariant and Contravariant Parameters

Hey folks, where can I find more information about this fragment from the docs?
By the rule of composition, contravariant parameters composed as an intersection (i.e. with &) are equivalent to covariant parameters composed together as a union (i.e. with |)
Was this page helpful?