Skip to content

How should we deal with typeclasses that need particular instances of other typeclasses to be lawful? #805

Description

@johnynek

See: typelevel/algebra#126 (comment)

Group[Map[K, V]] needs a vetor space style Eq[Map[K, V]] that considers eqv(Some(0), None)

one proposal is for the dependant typeclass to have as a member the depended typeclass (def eqInst: Eq[Map[K, V]])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions