Skip to content

Initial Release

Latest

Choose a tag to compare

@JonathanMontane JonathanMontane released this 26 Sep 07:34
· 1 commit to main since this release
1f0f35a

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.
  • Exec convenience method
  • WithTimeout, WithDeadline methods for Ctx to adapt a context for a function
  • Retry method for Error namespaces to allow for easy retries.
  • OnErr, MapErr, Map, and Fallback methods on Error namespaces to respectively label an error, transform an error, transform a value, use a fallback value on error.
  • Fallible & Must to and from an Error namespace.
  • Timing method for performance reporting