GitXplorerGitXplorer
r

semilattices

public
43 stars
7 forks
1 issues

Commits

List of commits on branch master.
Verified
12ebf74063c29aa8193f822cd2386851633a07ef

Merge pull request #19 from robrix/see-eye

rrobrix committed 6 months ago
Unverified
fc2af2f32cae21553f1974748e1527e33e382fef

Bump.

rrobrix committed 6 months ago
Unverified
1103721c42c38d0b57823b13c34edc2599ad2ed9

Bump most of the actions for node20.

rrobrix committed 6 months ago
Unverified
16e4f089948ff699e894a4b8f57cc69a90db7a33

Drop ghc 8.2.

rrobrix committed 6 months ago
Unverified
5543475577f41e67f53985350df39bc5c6a3b7cb

:fire: the Travis CI config.

rrobrix committed 6 months ago
Unverified
8e5d014e72e125dff4267c2936260bd212a7d45f

Changelog.

rrobrix committed 6 months ago

README

The README file for this repository.

Build Status

semilattices

This Haskell package defines typeclasses for join- and meet-semilattices, and for upper and lower bounds, and a variety of instances for each.

Usage

Semilattices are idempotent commutative semigroups, and come in two flavours: Join and Meet. This presentation of them doesn’t inherit from Semigroup however, since Semigroups already exist and the relationships between the various classes here warrant their own operators.

Join semilattices can be combined using the \/ operator (pronounced “lub,” for “least upper bound”). Meet semilattices can be combined with the /\ operator (pronounced “glb,” for “greatest lower bound”). They have opposite relationships to Lower and Upper bounds (which are optional; in general, there are more lower bounds than upper ones).

Related work

  • lattices also offers join & meet semilattices, & their respective bounds. Relative to lattices, semilattices primarily offers a different class hierarchy, e.g. Lower & Upper do not have Join & Meet as superclasses. Relative to semilattices, lattices offers classes for lattices (both bounded and un-), partial orderings, a variety of operations for instances.