4.1.0
NEW
- Add compatibility with Swift 5's Result (#278)
- Add
Result.Success
typealias
- Add
Result.Failure
typealias
- Add
init(catching body: () throws -> Success)
and deprecateinit(attempt f: () throws -> Value)
- Add
func get() throws -> Success
and deprecatefunc dematerialize() throws -> Value
- Add
See https://github.com/apple/swift-evolution/blob/master/proposals/0235-add-result.md and https://forums.swift.org/t/accepted-with-modifications-se-0235-add-result-to-the-standard-library/18603 for further information of the Swift 5's Result.