Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/range_reconcile/src/lifting_monoid.ts>sizeMonoid

Efficiently sync sets with range-based set reconciliation
Go to Latest
variable sizeMonoid
import { sizeMonoid } from "https://deno.land/x/range_reconcile@0.1.2/src/lifting_monoid.ts";

A monoid which lifts the member as 1, and combines by adding together.

type

LiftingMonoid<unknown, number>