Skip to content

Should PartialOrd be a superclass of joins and meets? #54

@ocharles

Description

@ocharles

If "n mathematics, a join-semilattice (or upper semilattice) is a partially ordered set that has a join (a least upper bound)", shouldn't we have

class PartialOrd a => JoinSemiLattice a where
class PartialOrd a => MeetSemiLattice a where

?

This would have pre-empted the problems reported in #53 and #52.

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