typelift / Swiftx

Functional data types and functions for any project
BSD 3-Clause "New" or "Revised" License
219 stars 28 forks source link

Remove Result #18

Closed CodaFi closed 9 years ago

CodaFi commented 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>.

pthariensflame commented 9 years ago

:+1:

CodaFi commented 9 years ago

This also frees up the !! operator for future evil.