Repository navigation
Releases
Releases · JonathanMontane/powerfunc
Initial Release
New features
Func, FuncValue, FuncError, FuncValueError and their Ctx counterparts have been released with support for functions up to arity 10! These namespaces expose the following:
Currying{,1,2,...}to curry down functions.- Ctx namespaces Curry methods ignore the context param as it is more natural to pass the context at the call site.
Execconvenience methodWithTimeout,WithDeadlinemethods for Ctx to adapt a context for a functionRetrymethod for Error namespaces to allow for easy retries.OnErr,MapErr,Map, andFallbackmethods on Error namespaces to respectively label an error, transform an error, transform a value, use a fallback value on error.Fallible&Mustto and from an Error namespace.Timingmethod for performance reporting