Hacker GitHub

← All repos

louthy/language-ext

View on GitHub ↗ ★ 7,083 C#

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

109 mentions on Hacker News by 20 people: 5 stories, 104 comments · first 2014-11-19 · latest 2026-09-16

Mentions per year 109 mentions · busiest year 2016 (21)
20082026
  1. …it augments me rather than hinders. It's just not there for me yet. Too much information? :D [1] https://github.com/louthy/language-ext [2] https://github.com/louthy/iterator-prototype (this is messy prototype code, don't hate me).
    comment by louthy · 2026-09-16 · in Small programming tricks
  2. …LanguageExt is really nice for addressing some C# shortcomings, for me this is night and day. [0] https://github.com/louthy/language-ext [1] https://arrow-kt.io/
  3. …C# for-loop over an array. Watch this space!) [1] https://github.com/louthy/csharp-monad [2] https://github.com/louthy/language-ext [3] https://em-tg.github.io/csborrow/
    comment by louthy · 2026-01-05 · in Monads in C# (Part 2): Result
  4. I'm glad Paul Louth of https://github.com/louthy/language-ext/ is here in the comments. At this point basically everyone has been exposed to the concept of `Option/Result/Either/etc.`, and discussions typically end up revolving around the…
    comment by mikemarsh · 2026-01-05 · in Monads in C# (Part 2): Result
  5. …y), (1, z), (2, a), (2, b)] [(3, y), (3, z), (4, a), (4, b)] Which I think passes your test. [1] https://github.com/louthy/language-ext/blob/main/Samples/Car...
    comment by louthy · 2026-01-05 · in Monads in C# (Part 2): Result
  6. …in LINQ, `pure` in Haskell's Applicative, and `Pure` in language-ext's Applicative [2]. [1] https://github.com/louthy/language-ext/blob/main/LanguageExt... [2] https://github.com/louthy/language-ext/blob/main/LanguageExt...
    comment by louthy · 2026-01-05 · in Monads in C# (Part 2): Result
  7. …program I use to send out the newsletters from my blog. Happy to answer any questions on it. [0] https://github.com/louthy/language-ext/ [1] https://paullouth.com/higher-kinds-in-c-with-language-ext/ [2]…
    comment by louthy · 2026-01-05 · in Monads in C# (Part 2): Result
  8. Do you have a comparison to other libraries like https://github.com/louthy/language-ext Yours looks a lot more idiomatic to C# (hence acceptable for a mixed code base) but the above linked more "systematic". Not that I have used any or…
    comment by oaiey · 2026-01-05 · in Monads in C# (Part 2): Result
  9. …can get in C#. It's certainly pushing the language, but is still elegant (in my eyes anyway). [1] https://github.com/louthy/language-ext [2] https://github.com/louthy/language-ext/blob/main/Samples/Car... [3]…
    comment by louthy · 2025-10-16 · in LINQ and Learning to Be Declarative
  10. …to things like C#'s clever LINQ syntax). LanguageExt is a big part of some of those ecosystems: https://github.com/louthy/language-ext
  11. …half a million lines of code, ~7,000 stars, and ~25 million downloads. We are out there :) [1] https://github.com/louthy/language-ext
  12. …on the patterns isn't pretty, but I'd take it over handwriting the full type name every time. [1] https://github.com/louthy/language-ext/
  13. …with table joins. Fairly niche, but query syntax is a great approximation of Haskell's do notation: https://github.com/louthy/language-ext/wiki/Thinking-Functio... EDIT: updated URL
  14. …logic and less well for things like APIs where there's not always a narrative you can tell. [1] https://github.com/louthy/language-ext [2] https://github.com/louthy/language-ext/blob/main/Samples/Car...
  15. Doesn’t like my repo [1] “Failed to generate diagram. Please try again later.” [1] https://github.com/louthy/language-ext
  16. …is this game of 21/Pontoon [2]. I suspect most people won't have seen C# look like this! [1] https://github.com/louthy/language-ext/ [2] https://github.com/louthy/language-ext/blob/main/Samples/Car...
  17. …People told me I should have just used F#. Anyone familiar with both that can compare them? [1]: https://github.com/louthy/language-ext
    comment by infogulch · 2024-11-13 · in What's New in F# 9
  18. …Ah the standard "why don't you just use F#" line. I have a standard response to that now ;) https://github.com/louthy/language-ext/wiki/%22Why-don't-you...
    comment by louthy · 2024-10-18 · in Net 9.0 LINQ Performance Improvements
  19. …of users. But the focus always seems to be narrowly targeted, which limits the potential. [1] https://github.com/louthy/language-ext/
    comment by louthy · 2024-10-18 · in Net 9.0 LINQ Performance Improvements
  20. …I have developed [1]. But, unfortunately, I don't think I'll use it again for a pro project. [1] https://github.com/louthy/language-ext
    comment by louthy · 2024-09-12 · in Why Haskell?
  21. …that support Linq syntax for non-ORM uses, too, such as System.Reactive.Linq and LanguageExt: https://github.com/louthy/language-ext/wiki/How-to-deal-with...
    comment by WorldMaker · 2024-08-29 · in Google's new pipe syntax in SQL
  22. …in C#. And, if you want a load of pre-built ones, then my library language-ext will help [1] [1] https://github.com/louthy/language-ext/
    comment by louthy · 2024-08-07 · in Official proposal for Type Unions in C#
  23. …the sooner they do it the better able they are to communicate with others in the FP community. [1] https://github.com/louthy/language-ext [2] https://www.nuget.org/packages/LanguageExt.Core
    comment by louthy · 2024-01-20 · in Pipeline-Oriented Programming [video]
  24. …is for) implemented. Including an implementation of Haskell Pipes [2], with some examples [3] [1] https://github.com/louthy/language-ext [2] https://louthy.github.io/language-ext/LanguageExt.Core/Effec... [3]…
    comment by louthy · 2024-01-20 · in Pipeline-Oriented Programming [video]
  25. …means. You'll be enlightened. OOP people: not everything needs to be 'oriented' ;-) [1] https://github.com/louthy/language-ext/
    comment by louthy · 2023-08-18 · in Railway Oriented Programming
  26. …(and higher kinds), but you can do a lot with LINQ and a good integrated library surface. [1] https://github.com/louthy/language-ext [2] https://louthy.github.io/language-ext/LanguageExt.Core/Effec... [3]…
    comment by louthy · 2023-08-07 · in The combined power of F# and C#
  27. …to `Task<T>` which allows C# tasks to be used in the same way that Async is done in F#. [1] https://github.com/louthy/language-ext/blob/main/LanguageExt...
    comment by louthy · 2023-07-05 · in How to think about async/await in Rust
  28. > [1] https://github.com/louthy/language-ext Cool library. I've had a few of these patterns in my Sasa library for years, but you've taken it to the Haskell extreme! Probably further than most C# developers could stomach. ;-) You might be…
  29. …games that don't agree (although I don't know exactly what kind of titles they're working on). [1] https://github.com/louthy/language-ext
  30. …type-checks, that's usually good enough. Of course at some point I do actually run the thing ;) [1] https://github.com/louthy/language-ext
  31. …// not executed from paymentId in processor.SendPayment(joshIban, olenaIban, 100) select paymentId; https://github.com/louthy/language-ext/wiki/Thinking-Functio...
    comment by david_allison · 2022-11-08 · in Welcome to C# 11
  32. …some rely on the runtime, like static interface methods. Records can be enabled like this [1] [1] https://github.com/louthy/language-ext/blob/main/LanguageExt...
    comment by louthy · 2022-08-16 · in .NET 6 is now in Ubuntu 22.04
  33. …a trade-off. Of course it isn't Haskell, but it's still possible to get 95% of the benefits. [1] https://github.com/louthy/language-ext
  34. …implementation is here [3] [1] https://michael.steindorfer.name/publications/phd-thesis-eff... [2] https://github.com/louthy/language-ext/blob/main/LanguageExt... [3] https://github.com/louthy/language-ext/blob/main/LanguageExt...
    comment by louthy · 2021-10-16 · in Implementing Hash Tables in C
  35. …couldn't imagine being a successful developer without a key understanding of these things. [1] https://github.com/louthy/language-ext
    comment by louthy · 2021-10-16 · in Implementing Hash Tables in C
  36. …wouldn't have survived as a business without them being exceptional or going the extra mile. [1] https://github.com/louthy/language-ext
  37. …Who knows. Still, I'd be more willing to allow my team to use it if I could train it myself. [1] https://github.com/louthy/language-ext/blob/main/LanguageExt...
  38. …though [1]. You might not be surprised to hear it isn't the first time I've been asked this :) [1] https://github.com/louthy/language-ext/wiki/%22Why-don't-you...
  39. …Then there's the grey area of licensing, which I feel has been totally brushed to one side. [1] https://github.com/louthy/language-ext
  40. …for microservices where we need the USP of Haskell (purity and strict domain modelling). [1] https://github.com/louthy/language-ext/
    comment by louthy · 2021-04-09 · in A Brief F# Exploration
  41. …do some functional in C#. If you just need some ready-made monads, language-ext is the way to go: https://github.com/louthy/language-ext We tried to bring some functional ideas into our Unity3D codebase with help of these resources, it's…
    comment by franknine · 2021-03-13 · in An Object-Oriented Language for the '20s
  42. …project while thinking in functions", etc.). You might also consider the LanguageExt guide itself: https://github.com/louthy/language-ext/wiki/Thinking-Functio...
    comment by ryanjshaw · 2020-08-29 · in Inventing Monads
  43. …at the last possible opportunity. Exactly how it would work in a purely functional setting. [1 ] https://github.com/louthy/language-ext/wiki/Thinking-Functio...
    comment by jbjohns · 2020-03-12 · in I Don't Use Classes
  44. …writing this on my phone atm, so I’ll do a fuller reply to your qs when I’m back in front of my PC https://github.com/louthy/language-ext/wiki/Code-generation
  45. …Interpret(y)), }; } [1] https://gist.github.com/louthy/54e216373d71b7fb4ceb5c619ea32... [2] https://github.com/louthy/language-ext/
  46. …the background build process in VS). All that's needed is a [Record] or [Union] attribute: [1] https://github.com/louthy/language-ext/wiki/Code-generation
  47. …is still one of the easiest languages to be productive in, with a world class tool chain. [1] https://github.com/louthy/language-ext
    comment by louthy · 2020-02-05 · in C# Pattern Matching
  48. …but it is possible. It's also a shame LINQ can't be extended like computation expressions. [1] https://github.com/louthy/language-ext/blob/master/LanguageE...
  49. …what is needed, and C# is your only option, then this will help [1] Disclaimer: I'm the author [1] https://github.com/louthy/language-ext/
  50. …blanket statements about performance are wheeled out I think it's important to add context. [1] https://github.com/louthy/language-ext