Skip to content

quiver-0.5.4

Compare
Choose a tag to compare
@ametke ametke released this 21 May 10:14
· 32 commits to main since this release

Added

  • Adds T.success() as a shorthand for creating a success Result (Jem Mawson)
  • Adds <T : Throwable>.failure() as a shorthand for creating a failure Result (Jem Mawson)
  • Adds T.toResult() as a shorthand for converting nullable types to Result<T> (Alejandro Metke)
  • Ads Result.mapFailure() to enable mapping the failure in a result to a different Throwable (Alejandro Metke)
  • Backport traverse functions on Either, Iterable and Option (Andrew Parker)
  • Backport traverse functions on Sequence, Map and Ior (Andrew Parker)