import { Set } from "https://deno.land/x/rimbu@1.0.3/core/menu/menu.ts";
const { Hashed } = Set.Ordered;
Interfaces
A mutable | |
A context instance for an | |
A non-empty type-invariant immutable Ordered HashSet of value type T. In the Set, there are no duplicate values. See the Set documentation and the OrderedHashSet API documentation | |
Utility interface that provides higher-kinded types for this collection. |
import { type Set } from "https://deno.land/x/rimbu@1.0.3/core/menu/menu.ts";
const { Hashed } = Set.Ordered;
A type-invariant immutable Ordered HashSet of value type T. In the Set, there are no duplicate values. See the Set documentation and the OrderedHashSet API documentation
Examples
Example 1
Example 1
const s1 = OrderedHashSet.empty<string>()
const s2 = OrderedHashSet.of('a', 'b', 'c')
import { Set } from "https://deno.land/x/rimbu@1.0.3/core/menu/menu.ts";
const { Hashed } = Set.Ordered;