News for hackers. Stuff that matters.
Re:Monads in C# (Part 2): Result by pimbrouwers on Thursday January 01, 2026 @03:42PM (#46457826)
I've been playing around with some of the "standard/common monads in C# for a while now, in OSS (https://github.com/pimbrouwers/Danom) and at work. It's awesome. I can't imagine working without them anymore.
Re:Monads in C# (Part 2): Result by polygot on Friday January 02, 2026 @07:18PM (#46471216)
Thanks for sharing! Appreciate the OSS work. Is it ok if I reference that repo in my article?
Re:Monads in C# (Part 2): Result by pimbrouwers on Saturday January 03, 2026 @07:16AM (#46475712)
100%! I would be thrilled! Thank you very much.
Re:Monads in C# (Part 2): Result by oaiey on Monday January 05, 2026 @03:20AM (#46496451)
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 have any competence.

Re:Monads in C# (Part 2): Result by pimbrouwers on Monday January 05, 2026 @08:06AM (#46498351)
I normally do a much deeper dive into the existing ecosystem before I write a library like this. In this case, I tried a few of the popular packages, but in the end decided my own pursuit of the exact types I wanted was more interesting. So, I just went for it.