<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Currently<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #4f8187" class="">someSequence</span><span style="font-variant-ligatures: no-common-ligatures" class="">.</span><span style="font-variant-ligatures: no-common-ligatures; color: #3d1d81" class="">joined</span><span style="font-variant-ligatures: no-common-ligatures" class="">(separator: [])</span></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(79, 129, 135);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">someSequence</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">.</span><span style="font-variant-ligatures: no-common-ligatures; color: #3d1d81" class="">flatten</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">()</span></div></div><div class=""><br class=""></div><div class="">(where&nbsp;<span style="color: rgb(79, 129, 135); font-family: Menlo; font-size: 11px;" class="">someSequence</span>&nbsp;is a sequence of sequences) results in two equal sequences (apart from their exact types). I would like to have flatten() renamed to joined(), resulting in joined(_:) seemingly having an empty array as the default parameter.</div><div class=""><br class=""></div><div class="">Similarly, I propose to give joined(_:) for a sequence of strings the empty string as the default parameter, allowing us to replace something like</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(209, 47, 27);" class=""><div style="margin: 0px; line-height: normal; color: rgb(0, 132, 0);" class=""><div style="margin: 0px; line-height: normal; color: rgb(209, 47, 27);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[</span><span style="font-variant-ligatures: no-common-ligatures" class="">"Hello, "</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">, </span><span style="font-variant-ligatures: no-common-ligatures" class="">"world!"</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">].</span><span style="font-variant-ligatures: no-common-ligatures; color: #3d1d81" class="">joined</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">(separator: </span><span style="font-variant-ligatures: no-common-ligatures" class="">""</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">) </span><span style="font-variant-ligatures: no-common-ligatures; color: #008400" class="">// "Hello, world!"</span></div></div></div></div><div class=""><br class=""></div><div class="">with</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 132, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">[</span><span style="font-variant-ligatures: no-common-ligatures; color: #d12f1b" class="">"Hello, "</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">, </span><span style="font-variant-ligatures: no-common-ligatures; color: #d12f1b" class="">"world!"</span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class="">].joined() </span><span style="font-variant-ligatures: no-common-ligatures" class="">// "Hello, world!”</span></div></div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(0, 132, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; line-height: normal;" class="">In other words, I think joined(_:) should have a default parameter of either `[]` or `””` and flatten() could then be removed as it would act the exact same way as joined().</div></body></html>