HonkSharp
HonkSharp copied to clipboard
Some wrappers and API and methods for fast and convenient declarative coding in C#
#23 Not sure about the API though. `prec` and `mrec` look closer to keywords, but still are semantically methods, so should start with capital (and maybe have a longer name?)
With recursion. Example of code: ## PoC ```cs using System; using System.Collections.Generic; using static Memes; var fib = Memoize((n, fib) => n switch { 1, var m => fib(n -...
### Prototype ```cs public static TOut[] Parallel(this T @this, params Func toRun) => Task.WaitAll(toRun.Select(Task.Run)); ``` ### Comments There also should be an `Action`-based overload. Also, a method which would run...