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

Edits to the Map Sorting proposal #3

Merged
merged 15 commits into from Apr 10, 2019
Merged

Edits to the Map Sorting proposal #3

merged 15 commits into from Apr 10, 2019

Conversation

calda
Copy link

@calda calda commented Apr 10, 2019

I've made some edits to the proposal! Let me know what you think.

Copy link
Owner

@AnthonyLatsis AnthonyLatsis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Cal! Here are some comments.

proposals/0000-map-sorting.md Show resolved Hide resolved
proposals/0000-map-sorting.md Outdated Show resolved Hide resolved
proposals/0000-map-sorting.md Outdated Show resolved Hide resolved
proposals/0000-map-sorting.md Outdated Show resolved Hide resolved
proposals/0000-map-sorting.md Outdated Show resolved Hide resolved
proposals/0000-map-sorting.md Outdated Show resolved Hide resolved
proposals/0000-map-sorting.md Outdated Show resolved Hide resolved
proposals/0000-map-sorting.md Outdated Show resolved Hide resolved
proposals/0000-map-sorting.md Outdated Show resolved Hide resolved
proposals/0000-map-sorting.md Outdated Show resolved Hide resolved
@calda
Copy link
Author

calda commented Apr 10, 2019

Thanks for the good feedback! For each of your points, I've gone back and either updated the proposal or provided additional rationale.

@AnthonyLatsis
Copy link
Owner

Thanks for being patient! Do you mind if I squash?

@calda
Copy link
Author

calda commented Apr 10, 2019

sgtm, thanks for hashing everything out. It's a pretty good-looking proposal now 😄

@AnthonyLatsis AnthonyLatsis merged commit b76128c into AnthonyLatsis:keypath-sorting Apr 10, 2019
@calda
Copy link
Author

calda commented Apr 10, 2019

@AnthonyLatsis can you go back and update the pitch thread? It may also be nice to drop a note in apple/swift-evolution#999

AnthonyLatsis pushed a commit that referenced this pull request Sep 9, 2022
…om the third review (apple#1406)

* [SE-0304] Replace `TaskGroup.async` with `TaskGroup.addTask`.

The use of the adjective `async` for creating new child tasks was too
confusing and didn't fit well with the naming guidelines. Instead, use
`addTask`, which makes it clear that we are adding a new task into a
task group (the result of which is available via `next()`).

* [SE-0304] Rename `sleep(_:)` to `sleep(nanoseconds:)`.

* [SE-0304] Split out changes due to review #3

* [SE-0304] Rename TaskPriority.default to TaskPriority.medium

* [SE-0304] Add (Throwing)?TaskGroup.waitForAll

* [SE-0304] Rename `Task.yield()` to `Task.suspend()`

* [SE-0304] Make `Task.sleep(nanoseconds:)` throwing on cancellation

* Re-schedule review
AnthonyLatsis pushed a commit that referenced this pull request Sep 9, 2022
* Initial draft

* Revise proposal and narrow it to @predatesConcurrency

* Add examples and describe @predatesConcurrency protocol behavior

* Rename `@predatesConcurrency` to `@preconcurrency`

* Clarify that using concurrency features enables Sendable checking.

* Simplify from 3 "concurrency checking modes" to 2.

We only need "minimal" and "strict"; the other differences are accounted
for by the language mode (warnings prior to Swift 6, errors thereafter)
and the behavior of the `@preconcurrency` attribute.

* Remove an extraneous space

* Add links to implementation, toolchains, pitch #3 thread

* Update proposals/NNNN-support-incremental-migration-to-concurrency-checking.md

Co-authored-by: Jon Shier <jon@jonshier.com>

* Assign number, kick off review

Co-authored-by: Ben Cohen <airspeedswift@users.noreply.github.com>
Co-authored-by: Jon Shier <jon@jonshier.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants