Link Search Menu Expand Document

Lattice overview

A Lattice must satisfy the following in addition to JoinSemilattice and MeetSemilattice laws:

  • Absorbtion law for meet: a ∧ (a ∨ b) <-> a
  • Absorbtion law for join: a ∨ (a ∧ b) <-> a

Added in v2.0.0

Table of contents

type classes

Lattice (interface)


export interface Lattice<A> extends JoinSemilattice<A>, MeetSemilattice<A> {}

Added in v2.0.0