版博士V2.0程序
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

20 lignes
497 B

  1. /**
  2. * A meet-semilattice (or lower semilattice) is a semilattice whose operation is called `meet`, and which can be thought
  3. * of as a greatest lower bound.
  4. *
  5. * A `MeetSemilattice` must satisfy the following laws:
  6. *
  7. * - Associativity: `a ∧ (b ∧ c) <-> (a ∧ b) ∧ c`
  8. * - Commutativity: `a ∧ b <-> b ∧ a`
  9. * - Idempotency: `a ∧ a <-> a`
  10. *
  11. * @since 2.0.0
  12. */
  13. /**
  14. * @category model
  15. * @since 2.0.0
  16. */
  17. export interface MeetSemilattice<A> {
  18. readonly meet: (x: A, y: A) => A
  19. }