Options
All
  • Public
  • Public/Protected
  • All
Menu

The Semigroup type defines equality.

Inspired by Data.Semigroup from Haskell.

Instances must obey the following laws:

  1. Associativity: Associativity: S.concat(S.concat(a, b), c) ≡ S.concat(a, S.concat(b, c))

Equivalent with the Semigroup type-class in the static-land spec.

Type parameters

  • A

Hierarchy

  • Semigroup

Index

Methods

Methods

concat

  • concat(x: A, y: A): A

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc