import { Sorted } from "https://deno.land/x/rimbu@1.1.0/core/menu/multiset.ts";
Interfaces
A mutable | |
A context instance for an | |
A type-invariant immutable MultiSet of value type T. In the MultiSet, each value can occur multiple times. See the MultiSet documentation and the SortedMultiSet API documentation | |
Utility interface that provides higher-kinded types for this collection. |
import { type Sorted } from "https://deno.land/x/rimbu@1.1.0/core/menu/multiset.ts";
A type-invariant immutable MultiSet of value type T. In the MultiSet, each value can occur multiple times. See the MultiSet documentation and the SortedMultiSet API documentation
Examples
Example 1
Example 1
const s1 = SortedMultiSet.empty<string>()
const s2 = SortedMultiSet.of('a', 'b', 'a', 'c')
import { Sorted } from "https://deno.land/x/rimbu@1.1.0/core/menu/multiset.ts";