-
Notifications
You must be signed in to change notification settings - Fork 436
Closed
Description
I think it's time to start preparation for the new features of Swift 5.0, i.e. Result that has been recently accepted to the standard library, see
https://github.com/apple/swift-evolution/blob/master/proposals/0235-add-result.md.
The issue that I see that migration to the Swift.Result is a breaking change since different signatures.
https://github.com/apple/swift-evolution/blob/master/proposals/0235-add-result.md
public enum Result<Value, Error: Swift.Error> {
case value(Value), error(Error)
}
when https://github.com/antitypical/Result
public enum Result<Value, Error: Swift.Error> {
case success(Value)
case failure(Error)
}
I totally respect to https://github.com/antitypical/Result, but I think that it's better using Standard Library.
Any community thought about?
Metadata
Metadata
Assignees
Labels
No labels