Skip to content

Swift 6.1 #1410

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

Merged
merged 9,123 commits into from
Apr 8, 2025
Merged

Swift 6.1 #1410

merged 9,123 commits into from
Apr 8, 2025

Conversation

chenranj
Copy link
Member

@chenranj chenranj commented Apr 8, 2025

No description provided.

amartini51 and others added 30 commits December 4, 2023 11:25
Although blocks are available in Xcode and on Apple platforms, this
extension to the C language wasn't accepted as part of the standard.
I looked at discussions of closures across a number of widely used
languages, in terms of what names were used as part of that discussion.
Note that these aren't necessarily the actual name of a feature in each
language, just the terms I saw folks use when teaching this (or a
similar) concept.

* C# - lambda expressions, anonymous methods
* C++ - lambda expressions
* Java - closures, first-class functions, inline functions
* JavaScript - closures, nested functions, code blocks
* PHP - closures, anonymous functions
* Python - lambdas, nested functions
* Ruby - closures, blocks, procs, lambdas
* Visual Basic - lambda expressions, function expressions, closures
Correcting the grammar of this sentence, changing `a` to `as a`.
Fix grammatical error in TheBasics.md
Typo is from commit 8420dda and appears
only here -- nowhere else to make this correction.
Confirmed this is supported as of swiftlang-5.9.2.2.56.
Co-authored-by: Scott Richmond (GitHub user @tadbyt)
The code listing changed in c554b62 but
the old example got left behind in the prose and swifttest block.

Fixes: swiftlang/swift-book#224
Trivial conflict in Style.md by keeping both additions.
Rich-Warren and others added 29 commits January 29, 2025 17:12
Also replaced the code snippets with a better example.
Confirmed there aren't any remaining by running:

    git grep -I $'\t'
    git grep -I ' $'
Edits from <rdar://145499286>.
Early on, TSPL depended on DocC features that had landed on that
repository's mainline development branch, but were too new to appear in
Xcode's DocC.  That hasn't been the case for a while now.  Removing the
need to locally compile DocC speeds up and simplifies the build process.
@chenranj chenranj merged commit 8037f63 into main Apr 8, 2025
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

Successfully merging this pull request may close these issues.