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

Add Pack Iteration blog post #578

Merged
merged 2 commits into from
Mar 7, 2024

Conversation

simanerush
Copy link
Member

@simanerush simanerush commented Mar 4, 2024

Add a blog post about pack iteration (SE-0408) and how to use it, featuring a brief overview of parameter packs (SE-0393).

This is my first blog post, so I will appreciate any feedback!

Motivation:

With the introduction of parameter packs in Swift 5.9, there was a demand for pack iteration support using a for-in loop syntax. SE-0408 enabled pack iteration for Swift 6.0, and it makes interacting with parameter packs way more straightforward for a Swift programmer. I wrote this blog post to introduce folks with parameter packs and show a new way of interacting with them using a for-in loop 🙂

Modifications:

A new blog post about pack iteration.

Result:

A new blog post will be added to swift.org.

Acknowledgements

Thank you @DougGregor for suggesting me to write this and reviewing the initial drafts.

---
layout: post
published: true
date: 2024-03-03 10:00:00
Copy link
Member

Choose a reason for hiding this comment

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

Let's remember to update this when we merge

_posts/2024-03-03-pack-iteration.md Outdated Show resolved Hide resolved
@cthielen
Copy link
Contributor

cthielen commented Mar 7, 2024

@swift-ci please test

@cthielen cthielen merged commit 69820ee into swiftlang:main Mar 7, 2024
1 check passed
cthielen added a commit to Joannis/swift-org-website that referenced this pull request Mar 26, 2024
* Add Pack Iteration blog post

* Update timestamp

---------

Co-authored-by: Christopher Thielen <c_thielen@apple.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
Development

Successfully merging this pull request may close these issues.

4 participants