Skip to main content

package @rimbu/collection-types/set-custom

The @rimbu/collection-types/set-custom entry exposes internal higher‑kind utilities and interfaces for set‑like collections, complementing the public contracts in @rimbu/collection-types/set for advanced implementers. Use it when you are defining custom set families that should plug into Rimbu’s shared collection‑type abstractions; for everyday development you will typically rely on concrete set implementations instead.

Interfaces

NameDescription
Elem<T>A higher-kind utility type providing access to the element type T.
KeyValue<K,V>A higher-kind utility type providing access to a key type K and value type V.
Row<R,C,V>A higher-kind utility type providing access to a row type R, a column type C, and a value type V.
RSetBase<T,Tp>undocumented
VariantSetBase<T,Tp>undocumented

Namespaces

NameDescription
RSetBaseundocumented
VariantSetBaseundocumented

Classes

NameDescription
EmptyBaseA shared base class for empty collection instances.
It implements the common Collection API for the empty case and is reused across different collection types. All mutating-style operations return this, and all querying operations return the empty value for their respective type.
NonEmptyBaseA shared base class for non-empty collection instances.
It implements the common Collection.NonEmpty API and is reused across different non-empty collection types.