Closed fsvehla closed 8 years ago
instances for what? Just everything?
I think in this case the commenter was asking about monoid/semigroup instances for sets.
EDIT: Regardless it would be good to update this issue to be clear what its scope is.
It looks like we have the following:
Lattice[Set[A]]
PartialOrder[Set[A]]
Semiring[Set[A]]
I think this is actually sufficient. Projects like Cats which want a default Monoid[Set[A]]
can define it themselves (or use Semiring[Set[A]].additive
).
Since I encouraged this issue to be opened (in Cats' Gitter) I'm going to close it, but feel free to disagree and reopen it (along with the type classes that should be added of course).
From cats Gitter: