版博士V2.0程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
582 B

  1. /**
  2. * A `DistributiveLattice` must satisfy the following laws in addition to `Lattice` laws:
  3. *
  4. * - Distributivity for meet: `a ∨ (b ∧ c) <-> (a ∨ b) ∧ (a ∨ c)`
  5. * - Distributivity for join: `a ∧ (b ∨ c) <-> (a ∧ b) ∨ (a ∧ c)`
  6. *
  7. * @since 2.0.0
  8. */
  9. import { Lattice } from './Lattice'
  10. import { Ord } from './Ord'
  11. /**
  12. * @category model
  13. * @since 2.0.0
  14. */
  15. export interface DistributiveLattice<A> extends Lattice<A> {}
  16. /**
  17. * @category constructors
  18. * @since 2.0.0
  19. */
  20. export declare function getMinMaxDistributiveLattice<A>(O: Ord<A>): DistributiveLattice<A>