C# Functional programming

Open-source C# projects categorized as Functional programming

Top 15 C# Functional programming Projects

  • language-ext

    C# functional language extensions - a base class library for functional programming

  • Project mention: The Monad Invasion - Part 2: Monads in Action! | dev.to | 2024-02-27

    You probably noticed that .SetName() returns a Either. You may have come across Unit in libraries like MediatR or Language-Ext. It's a simple construct representing a type with only one possible value. We use it as a placeholder for operations that do not return a value but may return another state. In our example, .SetName() is a Command that does not return a value but may fail. Therefore, the monad Either carries two possible states: Right (without value) or Left (with an Error).

  • MoreLINQ

    Extensions to LINQ to Objects

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • CSharpFunctionalExtensions

    Functional extensions for C#

  • Project mention: Result pattern: language-ext vs FunctionalExtensions? | /r/dotnet | 2023-07-07

    Hey, I am considering adopting the Result pattern in my codebase. Wanted to get some opinions from someone who has experience with it: should I start with language-ext or FunctionalExtensions?

  • Optional

    A robust option type for C#

  • Project mention: Nullable vs Option | /r/csharp | 2023-08-12

    Since then C# introduced nullable which takes away some of the needs for a Option type. So what is your opionion? Do libraries like Optional still have a place when nullable is enabled?

  • dunet

    C# discriminated union source generator

  • Project mention: Rolled my own Result<T,E> type that seems to work better than others. | /r/csharp | 2023-11-01

    BUT It is possible to implement it in a pretty good way. The main issue with the majority of existing libraries is that they're not able to guarantee that Error variant matching is exhaustive. Thus I'd recommend the usage of code generators libraries (https://github.com/domn1995/dunet looks like a good choice to start with) to build Result and Error(s) unions in a proper way

  • ObservableComputations

    Cross-platform .NET library for computations whose arguments and results are objects that implement INotifyPropertyChanged and INotifyCollectionChanged (ObservableCollection) interfaces.

  • Curryfy

    Provides strongly typed extensions methods for C# delegates to take advantages of functional programming techniques, like currying and partial application.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Optuple

    .NET Standard Library for giving (bool, T) Option-like semantics

  • FParsec.CSharp

    A thin C# wrapper for FParsec.

  • Funk

    Functional programming library for C#

  • moonad

    A simple F#'s monads port for C#.

  • Project mention: Design: Mônadas | dev.to | 2024-04-15
  • func

    Library to extend C#'s functional programming capabilities (by awsxdr)

  • YoowzxCalc

    .NET library for processing of mathematical expressions developed with emphasis on performance and flexibility of use.

  • JFlepp.Maybe

    A Maybe type for C#, aimed as an idiomatic port of the option type in F# to C#

  • csharp-combinators

    Experiments to understand and find practical use cases for combinators.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-04-15.

C# Functional programming related posts

Index

What are some of the best open-source Functional programming projects in C#? This list will help you:

Project Stars
1 language-ext 6,150
2 MoreLINQ 3,587
3 CSharpFunctionalExtensions 2,220
4 Optional 876
5 dunet 470
6 ObservableComputations 107
7 Curryfy 62
8 Optuple 28
9 FParsec.CSharp 18
10 Funk 11
11 moonad 11
12 func 8
13 YoowzxCalc 7
14 JFlepp.Maybe 4
15 csharp-combinators 1
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com