Interstellar
Interstellar copied to clipboard
Swift's 5 Result type
Hi, I'm huge fan of the project. It is really well done and using it is a breeze.
Today, Apple released Xcode 10.2 with Swift 5 and now we have Result
type built into the language. How do you think it influences the project? Should it replace Interstellar's Result
type or would you like to keep them both by conforming to ResultType
protocol?
I already created a pr for it at #74 it needs a bit more work though
@JensRavens Will you be working on it later ?
My current state is more or less that this will probably never be merged. For swift 5 there's the way better alternative of just using the new native producers - they're more performant and more flexible. If you need this though, feel free to take over and do a PR.
Hello @JensRavens I'm interested by this but I don't know what the "new native producers" you're referring to are. Could you tell me what they are, and how they make it unnecessary to use the built in Result
type in Interstellar?
Thank you
Swift 5 has the combine framework which can do anything Interstellar can do. So it’s not a replacement for result but for the whole framework.