Currently algebra provides an Order[List[A]] instance provided that A has an Order instance. However, it could also provide Eq[List[A]] with the weaker constraint that A has an Eq instance and similarly for PartialOrder.
Such instances already exist in Cats. They should probably be moved to algebra.
Currently algebra provides an
Order[List[A]]
instance provided thatA
has anOrder
instance. However, it could also provideEq[List[A]]
with the weaker constraint thatA
has anEq
instance and similarly forPartialOrder
.Such instances already exist in Cats. They should probably be moved to algebra.