Innovenergy_trunk/frontend/node_modules/fp-ts/lib/Lattice.d.ts

16 lines
466 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 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`
*
* @since 2.0.0
*/
import { JoinSemilattice } from './JoinSemilattice'
import { MeetSemilattice } from './MeetSemilattice'
/**
* @category model
* @since 2.0.0
*/
export interface Lattice<A> extends JoinSemilattice<A>, MeetSemilattice<A> {}