We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sequence.joined(separator:)
md5: a5f63c1a862ff9e824a317866e8a345b
Issue Description:
A joined sequence of sequences could use an EmptyCollection as the default separator.
EmptyCollection
A joined sequence of strings could use an empty string as the default separator.
1> ["con", "caten", "ated"].joined() $R0: String = "concatenated" 2> ["hyphen", "ated"].joined(separator: "-") $R1: String = "hyphen-ated"
The text was updated successfully, but these errors were encountered:
https://github.com/apple/swift-evolution/blob/master/proposals/0133-rename-flatten-to-joined.md
Sorry, something went wrong.
Resolved by:
[stdlib] Rename flatten() to joined() (SE-0133) #3809
[stdlib] default separator for joining strings (SE-0133) #3838
[stdlib] Update doc comments for SE-0133 #3839
No branches or pull requests
Additional Detail from JIRA
md5: a5f63c1a862ff9e824a317866e8a345b
Issue Description:
A joined sequence of sequences could use an
EmptyCollection
as the default separator.A joined sequence of strings could use an empty string as the default separator.
The text was updated successfully, but these errors were encountered: