Files
Project_Astral/blockchain/node_modules/fp-ts/lib/DistributiveLattice.d.ts
2026-02-25 00:50:23 +05:30

18 lines
525 B
TypeScript
Raw Permalink 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.
/**
* @file A `DistributiveLattice` must satisfy the following laws in addition to `Lattice` laws:
*
* - Distributivity for meet: `a (b ∧ c) = (a b) ∧ (a c)`
* - Distributivity for join: `a ∧ (b c) = (a ∧ b) (a ∧ c)`
*/
import { Lattice } from './Lattice';
import { Ord } from './Ord';
/**
* @since 1.4.0
*/
export interface DistributiveLattice<A> extends Lattice<A> {
}
/**
* @since 1.4.0
*/
export declare const getMinMaxDistributiveLattice: <A>(O: Ord<A>) => DistributiveLattice<A>;