Add contravariant for min and max
Merge pull request #496 from zsxwing/min-max-contravariant

Add contravariant for min and max