Pure.Linq.Conditions
0.1.0-preview.0.4.0
dotnet add package Pure.Linq.Conditions --version 0.1.0-preview.0.4.0
NuGet\Install-Package Pure.Linq.Conditions -Version 0.1.0-preview.0.4.0
<PackageReference Include="Pure.Linq.Conditions" Version="0.1.0-preview.0.4.0" />
<PackageVersion Include="Pure.Linq.Conditions" Version="0.1.0-preview.0.4.0" />
<PackageReference Include="Pure.Linq.Conditions" />
paket add Pure.Linq.Conditions --version 0.1.0-preview.0.4.0
#r "nuget: Pure.Linq.Conditions, 0.1.0-preview.0.4.0"
#:package Pure.Linq.Conditions@0.1.0-preview.0.4.0
#addin nuget:?package=Pure.Linq.Conditions&version=0.1.0-preview.0.4.0&prerelease
#tool nuget:?package=Pure.Linq.Conditions&version=0.1.0-preview.0.4.0&prerelease
Pure.Linq.Conditions
LINQ-compatible IBool conditions over IEnumerable<T> sequences for the Pure ecosystem.
Overview
Pure.Linq.Conditions provides sealed record types that evaluate structural conditions over IEnumerable<T> sequences and expose the result as IBool. Each condition is a composable value object — lazy, side-effect-free, and fully AOT-compatible.
Types
| Type | True when |
|---|---|
EmptyCondition<T> |
The sequence contains no elements |
NotEmptyCondition<T> |
The sequence contains at least one element |
EqualCondition<T> |
Two sequences contain the same elements with the same multiplicities, regardless of order |
NotEqualCondition<T> |
Two sequences differ in length or element values |
All types accept IEnumerable<T> and implement IBool from Pure.Primitives.Abstractions.
Design Principles
- IBool results — every condition returns an
IBool, keeping results composable within the Pure type system. - Lazy evaluation — the sequence is enumerated only when
.BoolValueis accessed. - AOT-compatible — no reflection; generic constraints are resolved at compile time.
Dependencies
Pure.Primitives.Abstractions—IBoolinterface
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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.Primitives.Bool.Operations (>= 0.6.0)
-
net11.0
- Pure.Primitives.Bool.Operations (>= 0.6.0)
-
net7.0
- Pure.Primitives.Bool.Operations (>= 0.6.0)
-
net8.0
- Pure.Primitives.Bool.Operations (>= 0.6.0)
-
net9.0
- Pure.Primitives.Bool.Operations (>= 0.6.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Pure.Linq.Conditions:
| Package | Downloads |
|---|---|
|
Pure.RelationalSchema.Conditions
Package Description |
|
|
Pure.RelationalSchema.Storage.PostgreSQL.Updating
PostgreSQL row updating for the Pure relational schema ecosystem — UPDATE decorators over Pure.RelationalSchema.Storage.PostgreSQL.Querying datasets. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.0.4.0 | 99 | 11/11/2026 |
| 0.1.0-preview.0.3.0 | 258 | 9/18/2026 |
| 0.1.0-preview.0.2.0 | 210 | 5/6/2026 |
| 0.1.0-preview.0.1.0 | 208 | 11/3/2025 |