Closed adelbertc closed 9 years ago
Also, while we're at it, I think you can make a Lattice
instance for Set[A]
for which meet is intersection and join is union (or the other way around), which is basically the same as the Semiring instance, but it also follows the Lattice laws.
Currently there doesn't seem to be any tests in the project - I am more than happy to start things off by writing the tests for Set
though.
Will address your comments in an incoming commit.
See the laws sub project. It depends on std.
Doh, silly me. Will add, thanks!
:+1:
Nice work! Thanks.
need to add in the test that this follows the PartialOrder laws.