Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Covariant "lookup" for contravariant typeclasses #13

@Blaisorblade

Description

@Blaisorblade

@paulp's has often brought this up. From memory, he'd have wanted Ordering[X] to be preferred to Ordering[Any] in implicit lookup, even though Ordering is contravariant, because Ordering[X] is still "more specific" for X. I remember that I agreed with @paulp and disagreed with Martin,

This seems bigger in scope than anything we've considered up to now, but we might want to consider it anyway.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions