Module cmb

Functionality for associative combination.

Remarks

Importing from this module

This module exposes utilities for working with semigroups. It is recommended to import them as they are named:

import { Semigroup, cmb } from "@neotype/prelude/cmb.js";

Implementing semigroups

  • The Semigroup<T> interface provides a contract for implementing semigroups. See the documentation for implementation patterns.
  • The Semigroup:namespace companion namespace provides the unique symbol required to implement its associated interface.

Index

Namespaces

Interfaces

Functions

Generated using TypeDoc