Innovenergy_trunk/frontend/node_modules/fp-ts/es6/DistributiveLattice.d.ts

21 lines
582 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 `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)`
*
* @since 2.0.0
*/
import { Lattice } from './Lattice'
import { Ord } from './Ord'
/**
* @category model
* @since 2.0.0
*/
export interface DistributiveLattice<A> extends Lattice<A> {}
/**
* @category constructors
* @since 2.0.0
*/
export declare function getMinMaxDistributiveLattice<A>(O: Ord<A>): DistributiveLattice<A>