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

x/rimbu/core/menu/graph/index.ts>Valued.Arrow.Hashed

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace Valued.Arrow.Hashed
import { Valued } from "https://deno.land/x/rimbu@1.0.3/core/menu/graph/index.ts";
const { Hashed } = Valued.Arrow;

Interfaces

A mutable ArrowValuedGraphHashed builder used to efficiently create new immutable instances. See the Graph documentation and the ArrowValuedGraphHashed.BuilderAPI documentation

The ArrowValuedGraphHashed's Context instance that serves as a factory for all related immutable instances and builders.

A non-empty type-invariant immutable valued arrow (directed) graph. The nodes are internally maintained using HashMaps See the Graph documentation and the ArrowValuedGraphHashed API documentation

Utility interface that provides higher-kinded types for this collection.

interface Valued.Arrow.Hashed
implements ArrowValuedGraphBase<N, V, ArrowValuedGraphHashed.Types>
import { type Valued } from "https://deno.land/x/rimbu@1.0.3/core/menu/graph/index.ts";
const { Hashed } = Valued.Arrow;

An type-invariant immutable valued arrow (directed) graph. The nodes are internally maintained using HashMaps See the Graph documentation and the ArrowValuedGraphHashed API documentation

Examples

Example 1

const g1 = ArrowValuedGraphHashed.empty<number, string>()
const g2 = ArrowValuedGraphHashed.of([1], [2, 3, 'a'], [2, 4, 'b'])
variable Valued.Arrow.Hashed
import { Valued } from "https://deno.land/x/rimbu@1.0.3/core/menu/graph/index.ts";
const { Hashed } = Valued.Arrow;

type

ArrowValuedGraphHashedCreators