C# Functional programming

Open-source C# projects categorized as Functional programming

Top 16 C# Functional programming Projects

Functional programming
  • 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).

  • 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
  • MoreLINQ

    Extensions to LINQ to Objects

  • 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.

  • plato

    A simple and efficient cross-platform programming language. (by cdiggins)

  • SaaSHub

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

    SaaSHub logo
  • Curryfy

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

  • 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).

C# Functional programming discussion

Log in or Post with

C# Functional programming related posts

  • The Monad Invasion - Part 2: Monads in Action!

    3 projects | dev.to | 27 Feb 2024
  • The Monad Invasion - Part 1: What's a Monad?

    4 projects | dev.to | 27 Feb 2024
  • I modified and hacked away xonsh source code

    2 projects | /r/xonsh | 18 Oct 2023
  • Why don't you just use F#?

    1 project | news.ycombinator.com | 18 Sep 2023
  • Nullable vs Option

    1 project | /r/csharp | 12 Aug 2023
  • Option<T> monad for Unity/UniTask

    2 projects | /r/Unity3D | 10 Jul 2023
  • Result pattern: language-ext vs FunctionalExtensions?

    2 projects | /r/dotnet | 7 Jul 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 12 Jun 2024
    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. Learn more →

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,227
2 MoreLINQ 3,621
3 CSharpFunctionalExtensions 2,283
4 Optional 886
5 dunet 479
6 ObservableComputations 108
7 plato 69
8 Curryfy 63
9 Optuple 28
10 FParsec.CSharp 17
11 Funk 11
12 moonad 11
13 func 8
14 YoowzxCalc 7
15 JFlepp.Maybe 4
16 csharp-combinators 1

Sponsored
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.
www.influxdata.com