Skip to content
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

[expr.prim.lambda] p 6, 7 obnoxiously long #1155

Closed
tkoeppe opened this issue Nov 30, 2016 · 1 comment
Closed

[expr.prim.lambda] p 6, 7 obnoxiously long #1155

tkoeppe opened this issue Nov 30, 2016 · 1 comment
Assignees

Comments

@tkoeppe
Copy link
Contributor

tkoeppe commented Nov 30, 2016

Paragraphs 6 and 7 of [expr.prim.lambda] are very long. P 7 contains 2 notes and 3 examples!

Could we please rewrite those to become multiple paragraphs? Consider having long examples be paragraphs on their own.

@jensmaurer, @zygoloid, any takers?

@zygoloid
Copy link
Member

Hmm, while we're here, it might be good to add some subsections to [expr.prim.lambda]; that subclause is a sprawling mess that's grown without any cleanup. Perhaps something like:

  • Closure types [expr.prim.lambda.closure]: paragraphs 4 (everything except the specification of the type of a lambda-expression), 6, 7, 8, 21, 22, 23
  • Captures [expr.prim.lambda.capture]: paragraphs 9-20, 24, 25, 26

... with the remaining text left in [expr.prim.lambda] itself. I'd also like a better description of closure types, perhaps first enumerating the different kinds of members that a closure type has and then describing those members and their properties.

@jensmaurer jensmaurer self-assigned this Nov 30, 2016
jensmaurer added a commit to jensmaurer/draft that referenced this issue Nov 30, 2016
jensmaurer added a commit to jensmaurer/draft that referenced this issue Dec 1, 2016
jensmaurer added a commit to jensmaurer/draft that referenced this issue Dec 14, 2016
jensmaurer added a commit to jensmaurer/draft that referenced this issue Dec 15, 2016
jensmaurer added a commit to jensmaurer/draft that referenced this issue Feb 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants