- Adopt Swift 5's built-in
Resulttype whencompiler(>=5.0)(#280) - Deprecate
NoErrorin favor ofNever, which now conforms toError(#286)
Unclaimed project
Are you a maintainer of Result? Claim this project to take control of your public changelog and roadmap.
Result type when compiler(>=5.0) (#280)NoError in favor of Never, which now conforms to Error (#286)Result.Success typealiasResult.Failure typealiasinit(catching body: () throws -> Success) and deprecate init(attempt f: () throws -> Value)func get() throws -> Success and deprecate func dematerialize() throws -> ValueSee https://github.com/apple/swift-evolution/blob/master/proposa...
ErrorProtocolConvertible to ErrorConvertible (#232)ResultProtocol (#235, #243)try functions in favor of Result.init(attempt:) (#251)