版博士V2.0程序
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

123456789101112131415
  1. /**
  2. * A `Group` is a `Monoid` with inverses. Instances must satisfy the following law in addition to the monoid laws:
  3. *
  4. * - Inverse: `concat(inverse(a), a) <-> empty = concat(a, inverse(a))`
  5. *
  6. * @since 2.0.0
  7. */
  8. import { Monoid } from './Monoid'
  9. /**
  10. * @category model
  11. * @since 2.0.0
  12. */
  13. export interface Group<A> extends Monoid<A> {
  14. readonly inverse: (a: A) => A
  15. }