FP.Arrow.Core 1.1.1

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

Arrow (.NET)

A .NET port of Arrow, starting from the Kotlin arrow-core library. Arrow.Core provides functional programming abstractions for C#:

  • Sum types: Option<A>, Either<A,B>, Ior<A,B>
  • Non-empty collections: NonEmptyList<E>, NonEmptySet<E>
  • Raise DSL: typed, short-circuiting error handling (RunEither, RunOption, RunNullable, RunResult, RunIor)
  • Effects: reusable EagerEffect<Error,A> and async Effect<Error,A>
  • Collection utilities: zip, align, padZip, mapOrAccumulate on iterables, sequences, and dictionaries
  • Memoization, tuples, comparison helpers

Requirements: .NET 10, C# preview, nullable reference types enabled.

Quick example

using Arrow.Core;
using Arrow.Core.Raise;

Either<string, int> result = RaiseBuilders.RunEither<string, int>(raise =>
{
    raise.Ensure(!string.IsNullOrWhiteSpace(input), () => "empty input");
    var value = raise.Bind(ParseInt(input));   // Either<string, int>
    return value * 2;
});

string message = result.Fold(
    err => $"Error: {err}",
    n   => $"Result: {n}");

Documentation

Full library guide with examples →

The guide covers:

  • Option, Either, Ior, and OperationResult
  • Synchronous and asynchronous pipelines over Task-wrapped values
  • All Raise builders and Effect combinators
  • Error accumulation (parallel validation)
  • Non-empty collections and iterable/map extensions
  • A complete user-registration walkthrough

Build and test

dotnet build Arrow.sln
dotnet test Arrow.sln

Publishing

NuGet releases use trusted publishing (OIDC, no stored API keys). See docs/PUBLISHING.md for setup and release steps.

git tag v0.1.0
git push origin v0.1.0

Project layout

Arrow.sln
src/core/
  Arrow.Core/          # Library (net10.0, no NuGet dependencies)
  Arrow.Core.Test/     # xUnit + FsCheck tests
docs/
  GUIDE.md             # Full documentation

License

Licensed under the Apache License 2.0. This project is a port of Arrow Kotlin arrow-core; upstream Arrow is also licensed under Apache 2.0.

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

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on FP.Arrow.Core:

Package Downloads
Application.Abstraction

CQRS abstractions for .NET application layers using SimpleMediator and Arrow.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.1.1 183 7/31/2026
1.1.0 131 7/28/2026
1.0.7 194 7/1/2026