-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
types: define Void #280
types: define Void #280
Conversation
What's the motivation behind the addition of this type? |
While @voxbono and I were working on a functional server we decided to use futures for HTTP responses. We then realized we had no use for the first type parameter: even if the database was inaccessible we could resolve with a |
Hmm, usually The problem with So you want a type that says "the type at this position must never become concrete". Maybe the description could be something like: Indicates that the type will never become concrete. For example, a future of type |
I'm not completely satisfied with this sentence either. I'm struggling to use a type to indicate that no value will ever be present at the position in question as I lack terminology for associating values with type parameters. |
I guess we both think of it as "position". Maybe we can use this word? |
When talking in terms of "concreteness" we can refer to the type, however. |
5ac6d4d
to
dfa436a
Compare
I like “position”. The current description refers to position, albeit indirectly:
This, for example, refers to the positional arguments I'll merge this pull request in its current form, but I'd like to improve the description in the future. |
I struggled with the description, and I'm not completely satisfied with the first sentence of the second paragraph. Suggestions are welcome. :)