- 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.
Changelog
Swift type modelling the success/failure of arbitrary operations.
Last updated over 5 years ago
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) Now we have become very big, Different from the original idea. Collect premium software in various categories.
The Swift Programming Language
A tool for creating and running Linux containers using lightweight virtual machines on a Mac. It is written in Swift, and optimized for Apple silicon.
The modern video player for macOS.