-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added NoError type #132
Added NoError type #132
Conversation
Is it weird to hide this away at the bottom of This seems to be a general pattern we're using so it's probably not worth holding up this PR for. I do wonder if we shouldn't do a pass at better file organization though. |
Anyway, I dig the change. Good stuff. |
Is it worth exposing an extension on Other than that 👍 this is great! |
Good point, I didn't consider that. It's definitely more important than that! I'd consider how it looks when looking at the generated "header" Swift module though. |
Ooooh good idea! |
Lovely ❤️ |
What do people think of the 2 questions?
|
I don't know that I have a better recommendation right now (other than maybe just a |
Oh, and I love the idea of a non-optional |
It can probably share the same name (because of lvalue type inference), but it would mean that some users would have to explicitly specify the type, so maybe we should provide a different name? I filed this radar (dupes appreciated! maybe I should submit to |
I'm going to go ahead and merge this as-is. I don't think the location is terribly important (and can be changed later) and Swift doesn't make a non-optional variant very easy. |
😍 |
Fixes #130