版博士V2.0程序
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

MeetSemilattice.d.ts 497 B

12345678910111213141516171819
  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. }