Skip to content

Commit c49e88c

Browse files
Add new section for Swift 3.1 proposals
1 parent 95528a9 commit c49e88c

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

index.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<proposal id="0042" status="accepted" name="Flattening the function type of unapplied method references" filename="0042-flatten-method-types.md"/>
4646
<proposal id="0043" status="implemented" swift-version="3" name="Declare variables in 'case' labels with multiple patterns" filename="0043-declare-variables-in-case-labels-with-multiple-patterns.md"/>
4747
<proposal id="0044" status="implemented" swift-version="3" name="Import as Member" filename="0044-import-as-member.md"/>
48-
<proposal id="0045" status="implemented" swift-version="3" name="Add prefix(while:) and drop(while:) to the stdlib" filename="0045-scan-takewhile-dropwhile.md"/>
48+
<proposal id="0045" status="implemented" swift-version="3.1" name="Add prefix(while:) and drop(while:) to the stdlib" filename="0045-scan-takewhile-dropwhile.md"/>
4949
<proposal id="0046" status="implemented" swift-version="3" name="Establish consistent label behavior across all parameters including first labels" filename="0046-first-label.md"/>
5050
<proposal id="0047" status="implemented" swift-version="3" name="Defaulting non-Void functions so they warn on unused results" filename="0047-nonvoid-warn.md"/>
5151
<proposal id="0048" status="implemented" swift-version="3" name="Generic Type Aliases" filename="0048-generic-typealias.md"/>

index.xslt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,17 @@
3939
</xsl:call-template>
4040

4141
<xsl:call-template name="section">
42-
<xsl:with-param name="title">Implemented for Swift 3</xsl:with-param>
42+
<xsl:with-param name="title">Implemented (Swift 3.1)</xsl:with-param>
43+
<xsl:with-param name="proposals" select="proposal[@status='implemented'][@swift-version = 3.1]"/>
44+
</xsl:call-template>
45+
46+
<xsl:call-template name="section">
47+
<xsl:with-param name="title">Implemented (Swift 3)</xsl:with-param>
4348
<xsl:with-param name="proposals" select="proposal[@status='implemented'][@swift-version = 3]"/>
4449
</xsl:call-template>
4550

4651
<xsl:call-template name="section">
47-
<xsl:with-param name="title">Implemented for Swift 2.2</xsl:with-param>
52+
<xsl:with-param name="title">Implemented (Swift 2.2)</xsl:with-param>
4853
<xsl:with-param name="proposals" select="proposal[@status='implemented'][@swift-version = 2.2]"/>
4954
</xsl:call-template>
5055

proposals/0045-scan-takewhile-dropwhile.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
* Proposal: [SE-0045](0045-scan-takewhile-dropwhile.md)
44
* Author: [Kevin Ballard](https://github.com/kballard)
5-
* Status: **Accepted**
5+
* Status: **Implemented (Swift 3.1)**
66
* Decision Notes: [Rationale](https://lists.swift.org/pipermail/swift-evolution-announce/2016-May/000136.html)
77
* Bugs: [SR-1516](https://bugs.swift.org/browse/SR-1516)
88
* Review Manager: [Chris Lattner](http://github.com/lattner)
@@ -154,4 +154,4 @@ and `unfold(_:applying:)` (see [revision 3][rev-3]). This proposal was partially
154154
accepted, with `scan(_:combine:)` rejected on grounds of low utility and
155155
`unfold(_:applying:)` rejected on grounds of poor naming (see [rationale][]).
156156

157-
[rationale](https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160502/016543.html)
157+
[rationale]: <https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160502/016543.html>

0 commit comments

Comments
 (0)