版博士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ů.

JoinSemilattice.d.ts 494 B

12345678910111213141516171819
  1. /**
  2. * A join-semilattice (or upper semilattice) is a semilattice whose operation is called `join`, and which can be thought
  3. * of as a least upper bound.
  4. *
  5. * A `JoinSemilattice` 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 JoinSemilattice<A> {
  18. readonly join: (x: A, y: A) => A
  19. }