That time when you give your project such a cute name, cleverly changing just one letter for uniqueness (Args → Arqs), that you can't remember & find it some 6 years later when you really need it. 🙄 But then remembered an old post! Right, time to raise the dead.
1/5 So here's strong-typed CLI parsing with help (example "git commit") succinctly expressed in LINQ as an applicative computation: github.com/atifaziz/Arqs/blo… Don't it just read pretty? Or as Belloq would've exclaimed, “It's beautiful!” just before…🤯
1
252
1/3 Earlier this year, I published BuildConstants. It solves a simple problem: define C# constant from MSBuild items. github.com/atifaziz/BuildCon…
1
1
85
Just for fun & kicks, published an Interact Monad gist in C#, derived from fssnip.net/8ay in F# by
@tomaspetricek and demonstrating an interactive computation that asks the user questions:
gist.github.com/atifaziz/4a0…
210
1/5 Here's a (peculiar) idea…writing & combining C# functions (`Func<,>`) entirely with LINQ, as if you didn't have `=>` in the language. Introducing Finq: github.com/atifaziz/Finq or F(unq) + (L)inq
1
1
231
Released MoreLINQ 4.2, a minor bug fix release github.com/morelinq/MoreLINQ…
1
138
The fact that it fixes one crucial bug in (async) Merge that you're bound to encounter in simple use cases & yet no one reported it says a lot about how many people are using it. github.com/morelinq/MoreLINQ… Okay, it was marked experimental so perhaps no one wants to go near it.
105
Didn't know what to post so for whatever it's worth, this is my #GitHubUnwrapped! ¯\_(ツ)_/¯ Get your own: githubunwrapped.com
1
238
Published MoreLINQ 4.1, a minor maintenance release, that primarily adds "Duplicates" and improves usability with .NET 8. github.com/morelinq/MoreLINQ…
161
MoreLINQ 4.0 is out: github.com/morelinq/MoreLINQ… Adds pooling Batch & retires methods that are now part of .NET proper.
💯 Over 100 extensions to LINQ to Objects!
📈 50+ million downloads.
🍻 45 contributors
⚒️ Maintained over a decade (since 2009)
4
232
C# 10 added natural type for lambda expressions, making curried functions more readable & easier to express (almost like Hindley–Milner signatures) than the explicit typing and angle sandwiches needed previously with “Func<int, Func<int, …>>>”. 😅
3
381
My first SO answer in years showing how MoreLINQ's TraverseBreadthFirst can be used for JsonNode to get the same functionality as Json.NET's DescendantsAndSelf with a simple switch expression: stackoverflow.com/a/76757619…. There's more explored in the answer.
200
So after periods of hiatus over 3 years (life happened, etc.), 144 PRs by 11 contributors (8 new) later, I've published the much overdue release of MoreLINQ 3.4: github.com/morelinq/MoreLINQ…
1/12 Just published Jacob, a succinct JSON combinator API over Utf8JsonReader for deserializing/reading JSON data. github.com/atifaziz/Jacob
It provides most of the benefits of Utf8JsonReader, such as low-allocation, but without the ceremony & complexity of custom converters. 🧵
What do you think is the difference between these two? If you thought none then why does the second one always print “False”? This answers: sharplab.io/#gist:15ec654a08… but that smells like a bug in the C# compiler?
1
2
1/4 Just shipped a C# source generator in docopt.net 0.8.0 that generates efficient & reflection-free code to parse CLI args into a strong-typed args class at compile-time. nuget.org/packages/docopt.ne… It's been a labour of love for a year!
2/4 Basically you write your CLI help in “plain text”, based on the awesome POSIX-y docopt conventions formalized by @keleshev, and docopt.net will take care of writing out the code for you at build-time: gist.github.com/atifaziz/153…













