Pure.Primitives.Bool.Operations 0.6.0

dotnet add package Pure.Primitives.Bool.Operations --version 0.6.0
                    
NuGet\Install-Package Pure.Primitives.Bool.Operations -Version 0.6.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.Primitives.Bool.Operations" Version="0.6.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Pure.Primitives.Bool.Operations" Version="0.6.0" />
                    
Directory.Packages.props
<PackageReference Include="Pure.Primitives.Bool.Operations" />
                    
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.Primitives.Bool.Operations --version 0.6.0
                    
#r "nuget: Pure.Primitives.Bool.Operations, 0.6.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.Primitives.Bool.Operations@0.6.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.Primitives.Bool.Operations&version=0.6.0
                    
Install as a Cake Addin
#tool nuget:?package=Pure.Primitives.Bool.Operations&version=0.6.0
                    
Install as a Cake Tool

Pure.Primitives.Bool.Operations

Boolean operations for Pure IBool primitives — composable, immutable value objects for logical and bitwise bool operations.

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

Overview

Pure.Primitives.Bool.Operations provides sealed record types that implement logical and bitwise operations over IBool values. Each type is a composable value object — the operation is evaluated lazily when .BoolValue is accessed.

Types

Type Implements Description
And IBool Logical AND over a sequence of IBool values
Or IBool Logical OR over a sequence of IBool values
Not IBool Logical NOT of a single IBool value
Xor IBool Logical XOR over a sequence of IBool values
BitwiseAnd IBool Bitwise AND over a sequence of IBool values
BitwiseOr IBool Bitwise OR over a sequence of IBool values
EqualCondition IBool true if all supplied IBool values are equal
NotEqualCondition IBool true if not all supplied IBool values are equal

All types live in the Pure.Primitives.Bool.Operations namespace.

Design Principles

  • Lazy evaluation — the operation is computed only when .BoolValue is accessed.
  • Composable — any IBool can be nested inside another operation.
  • AOT-compatible — no reflection; fully compatible with Native AOT.

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.Primitives.Bool.Operations:

Package Downloads
Pure.Linq.Conditions

Package Description

Pure.Authorization.OpenFGA.Model.Conditions

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.6.0 167 11/11/2026
0.5.1 446 9/18/2026
0.5.0 890 11/18/2025
0.4.0 388 11/2/2025
0.3.0 222 11/2/2025
0.2.0 259 6/3/2025
0.1.1 242 5/26/2025
0.1.0 235 5/25/2025