Link Search Menu Expand Document

Magma overview

A Magma is a pair (A, concat) in which A is a non-empty set and concat is a binary operation on A

See Semigroup for some instances.

Added in v2.0.0

Table of contents

type classes

Magma (interface)


export interface Magma<A> {
  readonly concat: (x: A, y: A) => A

Added in v2.0.0