-
Notifications
You must be signed in to change notification settings - Fork 782
[task.promise] Clarifications and disambiguations #8134
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
Conversation
@Dani-Hub Could you please have a look? |
Hmmh, good question. I think the intention is that it is supposed to be |
The current wording with its current expos-only identifiers looks correct to me. If there is no Then, regardless of "if' branch above, PAlloc is this type, and alloc/ So I believe no renaming is required, but the paragraph could be better structured. |
Yes, that is correct: [task.class] p2.1 specifies how |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry for the left-over Allocator
: it should be allocator_type
(defined in [exec.task] p2.1) in all places.
@Dani-Hub, @dietmarkuehl could you have another look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Thanks, everyone! |
I reverted the renaming of "alloc" to "alc". I think Alisdair has a point that there is no local ambiguity once the typography has been cleaned up, and the Otherwise rephrasing makes the local definition fairly clear. |
Agreed |
I'm also changing "Then X is" to "Let X be" for the PAlloc sentence, which (I think) clears up Alisdairs other complaint. |
* Change erroneous "Allocator" to "allocator_type". This was a mistake in the paper (a leftover from a previous revision). * Locally defined variables are just typeset as normal code, not as placeholders. * Some commas inserted to separate coordinate subclauses. * Replaced "(if any)" with leading "Oherwise", which seems better in order to avoid seemingly providing two conflicting definitions of alloc. * Replaced "Then PAlloc is ..." with "Let PAlloc be ...", which replaces the (causal vs temporal) ambiguous "then" with the far more common "let" expression.
Cleans up multiple issues in p16:
alc
.Open question: What is "
Allocator
"?