Closed CodaFi closed 9 years ago
With Swift 2.0 introducing exceptions to take the place of NSErrorPointer-style functions, and the advent of ErrorType, Result's days are numbered. I propose we remove it entirely, as it can be replicated with Either<ErrorType, B>.
NSErrorPointer
ErrorType
Either<ErrorType, B>
:+1:
This also frees up the !! operator for future evil.
!!
With Swift 2.0 introducing exceptions to take the place of
NSErrorPointer
-style functions, and the advent ofErrorType
, Result's days are numbered. I propose we remove it entirely, as it can be replicated withEither<ErrorType, B>
.