版博士V2.0程序
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

20 wiersze
494 B

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