Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/range_reconcile/mod.ts>sizeMonoid

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

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

type

LiftingMonoid<unknown, number>