Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding bounded lattice #91

Open
rklaehn opened this issue Nov 2, 2019 · 0 comments
Open

Consider adding bounded lattice #91

rklaehn opened this issue Nov 2, 2019 · 0 comments

Comments

@rklaehn
Copy link

rklaehn commented Nov 2, 2019

The lattice trait hierarchy could be extended with a bounded meet semilattice, bounded join semilattice, then a bounded lattice. This would be useful to lawfully express set operations as well as binary operations.

It seems that the infrastructure for parts of this is already in place with the Identity trait.

For a possible trait hierarchy, see https://github.com/typelevel/algebra/blob/master/core/src/main/scala/algebra/lattice/BoundedLattice.scala

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant