Skip to content

What is FxKit

FxKit is a library for C# to enable functional programming and railway-oriented programming using common data types like Result, Option, and Validation.

FxKit also includes source generators for generating union types, exhaustive Match functions, Func<>-friendly constructors, and much more.

Main features

FxKit is broken up into the following packages:

FeatureDescription
CoreThe core library. Can be used on its own
CompilerServicesRoslyn analyzers and source generators
TestingContains test helpers for asserting on the FxKit types

Released under the MIT License.