Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/mod.browser.ts>LiftingMonoid

Exploring Willow in the most efficient and sound programming language
Go to Latest
type alias LiftingMonoid
Re-export
import { type LiftingMonoid } from "https://deno.land/x/willow@0.2.1/mod.browser.ts";

This interface combines two bits of functionality:

  1. Lifting values of some type BaseType into the universe of a monoid (LiftedType).
  2. Information about the moniod of universe LiftedType (the neutral element and the combine function).

Type Parameters

BaseType
LiftedType
definition: { lift: (base: BaseType) => Promise<LiftedType>; combine: (a: LiftedType, b: LiftedType) => LiftedType; neutral: LiftedType; }