[swift-evolution] [Pitch] Unify joined(separator:) and flatten()
Jacob Bandes-Storch
jtbandes at gmail.com
Thu Jul 21 20:46:46 CDT 2016
In the swift-lang Slack channel, a few of us were discussing
joined(separator:) and realized that flatten() does almost exactly the same
thing.
Is there interest in renaming flatten() to joined()? Since joined takes a
separator that's any Sequence, we can't have a default value for the
separator parameter, but we can have a variant of joined() with no
arguments.
Jacob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160721/a7f45a34/attachment.html>
More information about the swift-evolution
mailing list