Pure.Collections.Generic
0.1.0-preview.3.1.0
dotnet add package Pure.Collections.Generic --version 0.1.0-preview.3.1.0
NuGet\Install-Package Pure.Collections.Generic -Version 0.1.0-preview.3.1.0
<PackageReference Include="Pure.Collections.Generic" Version="0.1.0-preview.3.1.0" />
<PackageVersion Include="Pure.Collections.Generic" Version="0.1.0-preview.3.1.0" />
<PackageReference Include="Pure.Collections.Generic" />
paket add Pure.Collections.Generic --version 0.1.0-preview.3.1.0
#r "nuget: Pure.Collections.Generic, 0.1.0-preview.3.1.0"
#:package Pure.Collections.Generic@0.1.0-preview.3.1.0
#addin nuget:?package=Pure.Collections.Generic&version=0.1.0-preview.3.1.0&prerelease
#tool nuget:?package=Pure.Collections.Generic&version=0.1.0-preview.3.1.0&prerelease
Pure.Collections.Generic
Generic collection types for the Pure ecosystem — immutable-friendly collections backed by IDeterminedHash equality.
Overview
Pure.Collections.Generic provides collection types designed to integrate with the IDeterminedHash equality model. Each collection uses EqualityComparerByDeterminedHash as its default equality comparer, enabling content-addressed lookups over any type that implements IDeterminedHash.
Types
| Type | Description |
|---|---|
Dictionary<TKey, TValue> |
Hash map keyed by IDeterminedHash equality |
Set<T> |
Hash set with IDeterminedHash membership checks |
Array<T> |
Immutable array wrapper over IDeterminedHash elements |
OrderedDictionary<TKey, TValue> |
Insertion-ordered dictionary with IDeterminedHash keys |
Lookup<TKey, TElement> |
Multi-value lookup grouped by IDeterminedHash keys |
EqualityComparerByDeterminedHash |
IEqualityComparer<T> using IDeterminedHash byte sequences |
All types live in the Pure.Collections.Generic namespace.
Design Principles
- Hash-based equality — collections compare elements by their
IDeterminedHashbyte sequences, not byobject.GetHashCode(). - AOT-compatible — no reflection; all generics are constrained at compile time.
Dependencies
Pure.HashCodes.Abstractions—IDeterminedHashinterface
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
-
net10.0
- Pure.HashCodes.Abstractions (>= 1.0.0)
-
net11.0
- Pure.HashCodes.Abstractions (>= 1.0.0)
-
net8.0
- Pure.HashCodes.Abstractions (>= 1.0.0)
-
net9.0
- Pure.HashCodes.Abstractions (>= 1.0.0)
NuGet packages (10)
Showing the top 5 NuGet packages that depend on Pure.Collections.Generic:
| Package | Downloads |
|---|---|
|
Pure.RelationalSchema.Self.Storage.Projection
Package Description |
|
|
Pure.RelationalSchema.Storage.PureQL.Projection
Package Description |
|
|
Pure.RelationalSchema.Storage.PostgreSQL.Querying
Package Description |
|
|
Pure.RelationalSchema.Storage.Abstractions.Serialization.System
Package Description |
|
|
PureQL.CSharp.Model.Samples
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.3.1.0 | 212 | 11/11/2026 |
| 0.1.0-preview.3.0.0 | 6,116 | 12/8/2025 |
| 0.1.0-preview.2.0.1 | 940 | 11/18/2025 |
| 0.1.0-preview.2.0.0 | 940 | 11/4/2025 |
| 0.1.0-preview.1.1.0 | 607 | 10/12/2025 |
| 0.1.0-preview.1.0.0 | 299 | 10/6/2025 |
| 0.1.0-preview.0.1.0 | 980 | 8/8/2025 |