Pure.Linq.Conditions 0.1.0-preview.0.4.0

This is a prerelease version of Pure.Linq.Conditions.
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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Pure.Linq.Conditions" Version="0.1.0-preview.0.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Pure.Linq.Conditions" Version="0.1.0-preview.0.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Pure.Linq.Conditions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
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"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Pure.Linq.Conditions@0.1.0-preview.0.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Pure.Linq.Conditions&version=0.1.0-preview.0.4.0&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Pure.Linq.Conditions&version=0.1.0-preview.0.4.0&prerelease
                    
Install as a Cake Tool

Pure.Linq.Conditions

LINQ-compatible IBool conditions over IEnumerable<T> sequences for the Pure ecosystem.

.NET build & test Build and Deploy NuGet License: MIT

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 .BoolValue is accessed.
  • AOT-compatible — no reflection; generic constraints are resolved at compile time.

Dependencies

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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