GitHunt
TA

taxfyle/FxKit

Functional programming utilities and Roslyn components for writing expressive C#

FxKit

A library for C# to enable functional, railway-oriented programming using common abstract data types
like Result, Option and Validation. Also includes Roslyn-based analyzers and source generators
for generating union types, exhaustive Match, and much more.

Documentation

Visit the official documentation to get started.

Installation

FxKit is broken up into the following packages:

It is recommended to add the following global using to make it easy to construct the core data types.

global using static FxKit.Prelude;

This makes functions like Some(value) and Ok(value) available everywhere.

License

MIT

Languages

C#99.8%Shell0.2%

Contributors

MIT License
Created March 23, 2024
Updated January 19, 2026
taxfyle/FxKit | GitHunt