Skip to content

Generalise operations from GCompare to HetOrd? #57

@LSLeary

Description

@LSLeary

heterogeneous-comparison provides HetOrd generalising GCompare.

Almost all operations on DMap k f can be generalised from GCompare k i.e. (HetOrd k, Strength k ~ Nominal) to (HetOrd k, Strength k > Phantom). This is a plain win. Only for those which explicitly require Has' constraints is there an issue of choice between (the current) (HetOrd k, Strength k ~ Nominal, Has' (Eq|Ord) k f) and (HetOrd k, Het(Eq|Ord) f). For these operations, it might make sense to provide both versions.

I don't currently have any plans to do this myself, but if the maintainers here want to make it happen, I'm happy to help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions