trait Eq[-A]
trait PartialOrder[-A]
trait Order[-A]
--
You received this message because you are subscribed to the Google Groups "Typelevel Users & Development List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to typelevel+...@googlegroups.com.
To post to this group, send email to type...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/typelevel/3c695808-8e99-4ec4-a3d9-a2634b9060cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Just saying that if they are invariant, you can always recover contravariance by deriving [B <:< A] Eq [A] => Eq [B]. I've sometimes found this manual control of narrowing and widening to be easier to control.
To view this discussion on the web visit https://groups.google.com/d/msgid/typelevel/CAGJkGJ_URYWKqsK4c2_Dyt%3Dp%3Dy01kWqTHDChjjmmW4PodYDi4w%40mail.gmail.com.