C# Functional programming

Open-source C# projects categorized as Functional programming

Top 17 C# Functional programming Projects

Functional programming
  1. language-ext

    C# pure functional programming framework - come and get declarative!

    Project mention: What's New in F# 9 | news.ycombinator.com | 2024-11-10

    louthy/language-ext [1] is a C# library which does its darndest to build a fully functional language inside C#. I found it very interesting and used it for an experimental project (which ended up failing, not sure if my usage of language-ext was partially to blame). People told me I should have just used F#.

    Anyone familiar with both that can compare them?

    [1]: https://github.com/louthy/language-ext

  2. SaaSHub

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

    SaaSHub logo
  3. MoreLINQ

    Extensions to LINQ to Objects

  4. CSharpFunctionalExtensions

    Functional extensions for C#

  5. Optional

    A robust option type for C#

    Project mention: C# Records | dev.to | 2024-12-11

    ZoranHorvat - Record Optional

  6. dunet

    C# discriminated union source generator

    Project mention: A comparison of Rust's borrow checker to the one in C# | news.ycombinator.com | 2024-10-30

    > The only grudge I have against them is they promised us discriminated unions since forever and they are still discussing how to implement it. I think that is the greatest feature C# is missing.

    To ease the wait you could try Dunet (discriminated union source generator).

    https://github.com/domn1995/dunet

  7. ObservableComputations

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

  8. plato

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

  9. Curryfy

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

  10. Optuple

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

  11. FParsec.CSharp

    A thin C# wrapper for FParsec.

  12. moonad

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

    Project mention: Design: Mônadas | dev.to | 2024-04-15
  13. Funk

    Functional programming library for C#

  14. functional-cs

    Functional Programming in C#

    Project mention: Functional Programming in C# | dev.to | 2024-10-19

    You can find source code here: https://github.com/aelassas/functional-cs

  15. func

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

  16. YoowzxCalc

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

  17. JFlepp.Maybe

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

  18. csharp-combinators

    Experiments to understand and find practical use cases for combinators.

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

  • C# Records

    1 project | dev.to | 11 Dec 2024
  • Net 9.0 LINQ Performance Improvements

    16 projects | news.ycombinator.com | 18 Oct 2024
  • Official proposal for Type Unions in C#

    16 projects | news.ycombinator.com | 7 Aug 2024
  • 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
  • A note from our sponsor - SaaSHub
    www.saashub.com | 23 Jan 2025
    SaaSHub helps you find the best software and product alternatives 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,612
2 MoreLINQ 3,722
3 CSharpFunctionalExtensions 2,514
4 Optional 904
5 dunet 659
6 ObservableComputations 115
7 plato 80
8 Curryfy 69
9 Optuple 29
10 FParsec.CSharp 18
11 moonad 12
12 Funk 11
13 functional-cs 10
14 func 8
15 YoowzxCalc 7
16 JFlepp.Maybe 4
17 csharp-combinators 1

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that C# is
the 10th most popular programming language
based on number of references?