Skip to content

gilesvangruisen/Result

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Result

Result is a Swift framework that includes the Result enum and an Error protocol.

Both types are extremely small. I look forward to two changes in Swift's future:

  • A fix for the Swift compiler issue that requires the Success case of Result to box its Ttype somehow. This repo uses@autoclosure` as a workaround.
  • (Hopefully) The inclusion of these types or their moral equivalents in the Swift standard library, at which point this repo can be removed.

Integration

Add this repository as a submodule, or use Carthage.

Author

John Gallagher, jgallagher@bignerdranch.com

License

Deferred is available under the MIT license. See the LICENSE file for more info.

About

Small Swift library for Result type

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published