From a6f5a9e9aab443df7804c10136a8fe24e17f6bf6 Mon Sep 17 00:00:00 2001 From: Julien Richard-Foy Date: Tue, 3 May 2022 15:17:24 +0200 Subject: [PATCH 1/7] Mark SIP 34 as completed Implemented in Scala 2.13 in scala/scala#5969 Implemented in Scala 3 in lampepfl/dotty#3841 --- _sips/sips/2017-07-12-right-associative-by-name-operators.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_sips/sips/2017-07-12-right-associative-by-name-operators.md b/_sips/sips/2017-07-12-right-associative-by-name-operators.md index 6b9ae3d0a6..b93ea41f09 100644 --- a/_sips/sips/2017-07-12-right-associative-by-name-operators.md +++ b/_sips/sips/2017-07-12-right-associative-by-name-operators.md @@ -1,7 +1,8 @@ --- layout: sip title: SIP-34 - Right-Associative By-Name Operators -vote-status: accepted +vote-status: complete +vote-text: This SIP has been implemented in Scala 2.13.0 and Scala 3.0.0 permalink: /sips/:title.html redirect_from: /sips/pending/right-associative-by-name-operators.html --- From 49a15bb87f054de92a3d14387fae22e3bbf79244 Mon Sep 17 00:00:00 2001 From: Julien Richard-Foy Date: Tue, 3 May 2022 15:25:12 +0200 Subject: [PATCH 2/7] Mark SIP 36 as completed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Assigned number 36 to SIP “By-name implicit arguments”. Implemented in Scala 2.13 in scala/scala#6050 Implemented in Scala 3 in lampepfl/dotty#5461 --- _sips/sips/2017-11-20-byname-implicits.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_sips/sips/2017-11-20-byname-implicits.md b/_sips/sips/2017-11-20-byname-implicits.md index db735776a6..75c61fec46 100644 --- a/_sips/sips/2017-11-20-byname-implicits.md +++ b/_sips/sips/2017-11-20-byname-implicits.md @@ -1,7 +1,8 @@ --- layout: sip -title: SIP-NN - Byname implicit arguments -vote-status: pending +title: SIP-36 - Byname implicit arguments +vote-status: complete +vote-text: This SIP has been implemented in Scala 2.13.0 and Scala 3.0.0 permalink: /sips/:title.html redirect_from: /sips/pending/byname-implicits.html --- From d8e3b682eecb73bef222619b27a84150601bb6dc Mon Sep 17 00:00:00 2001 From: Julien Richard-Foy Date: Tue, 3 May 2022 15:30:58 +0200 Subject: [PATCH 3/7] Mark SIP 37 as complete MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Assigned number 37 to SIP “Quote escapes for interpolations”. Implemented in Scala 2.13.6 in scala/scala#9536 Implemented in Scala 3.0.0 in lampepfl/dotty#7486 --- _sips/sips/2018-07-31-interpolation-quote-escape.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/_sips/sips/2018-07-31-interpolation-quote-escape.md b/_sips/sips/2018-07-31-interpolation-quote-escape.md index fe6615f12f..692e528de0 100644 --- a/_sips/sips/2018-07-31-interpolation-quote-escape.md +++ b/_sips/sips/2018-07-31-interpolation-quote-escape.md @@ -1,7 +1,8 @@ --- layout: sip -title: SIP-NN - Quote escapes for interpolations -vote-status: pending +title: SIP-37 - Quote escapes for interpolations +vote-status: complete +vote-text: This SIP has been implemented in Scala 2.13.6 and Scala 3.0.0 permalink: /sips/:title.html redirect_from: /sips/pending/interpolation-quote-escape.html --- @@ -126,4 +127,4 @@ proposals. [^4]: https://github.com/scala/bug/issues/6476#issuecomment-292412577 "@retronym said: +1 to s"$"". Because it doesn't compile today, we don't risk changing the meaning of existing programs." [^5]: https://github.com/Scala/Scala/pull/6953/files#diff-0023b3bfa053fb16603156b785efa7ad "" [^6]: https://github.com/Scala/Scala/pull/4308 "SI-6476 Accept escaped quotes in interp strings" -[^7]: https://github.com/lampepfl/dotty/pull/7486 "PR in dotty" +[^7]: https://github.com/lampepfl/dotty/pull/7486 "PR in dotty" From 663a312785daa8982e6c3c61c0b1cc1ed551086d Mon Sep 17 00:00:00 2001 From: Julien Richard-Foy Date: Tue, 3 May 2022 15:40:33 +0200 Subject: [PATCH 4/7] Mark SIP 38 as complete MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Assigned number 38 to SIP “Converters among optional functions, partial functions, and extractor objects”. Implemented in Scala 2.13.0 and Scala 3.0.0 in scala/scala#7111 The change did not _require_ a SIP because it was implemented at the library-level. Nevertheless, I decided to keep the SIP for posterity. --- ...ional-functions-partialfunctions-and-extractor-objects.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_sips/sips/2018-08-20-converters-among-optional-functions-partialfunctions-and-extractor-objects.md b/_sips/sips/2018-08-20-converters-among-optional-functions-partialfunctions-and-extractor-objects.md index 7bd7571ea8..816ee0af7f 100644 --- a/_sips/sips/2018-08-20-converters-among-optional-functions-partialfunctions-and-extractor-objects.md +++ b/_sips/sips/2018-08-20-converters-among-optional-functions-partialfunctions-and-extractor-objects.md @@ -1,7 +1,8 @@ --- layout: sip -title: SIP-NN - Converters among optional Functions, PartialFunctions and extractor objects -vote-status: pending +title: SIP-38 - Converters among optional Functions, PartialFunctions and extractor objects +vote-status: complete +vote-text: This SIP has been implemented in Scala 2.13.0 and Scala 3.0.0 permalink: /sips/:title.html redirect_from: /sips/pending/converters-among-optional-functions-partialfunctions-and-extractor-object.html --- From 22876be86617912f5be3b914ac184fc349e0a94d Mon Sep 17 00:00:00 2001 From: Julien Richard-Foy Date: Tue, 3 May 2022 16:13:44 +0200 Subject: [PATCH 5/7] Mark SIP 35 as complete --- _sips/sips/2017-09-20-opaque-types.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/_sips/sips/2017-09-20-opaque-types.md b/_sips/sips/2017-09-20-opaque-types.md index 9847baea50..58996ca60b 100644 --- a/_sips/sips/2017-09-20-opaque-types.md +++ b/_sips/sips/2017-09-20-opaque-types.md @@ -2,7 +2,8 @@ layout: sip title: SIP-35 - Opaque types -vote-status: accepted +vote-status: complete +vote-text: This SIP has been implemented with some changes in Scala 3.0.0 permalink: /sips/:title.html redirect_from: /sips/pending/opaque-types.html --- @@ -50,11 +51,8 @@ For a definition of boxing and previous state-of-the-art, we recommend reading [ ### Implementation note -The proposal is currently in an early stage. -[It’s being implemented](https://github.com/scalacenter/scala/tree/opaque-type), -but the proposed implementation strategy is not detailed enough to be able -to predict with certainty that it will work as specified. Consequently, -details of the proposal might change driven by implementation concerns. +Opaque types have been implemented in Scala 3.0.0 with +[some changes compared to this proposal](https://docs.scala-lang.org/scala3/reference/other-new-features/opaques-details.html#relationship-to-sip-35). ## Opaque types From 046797af822cf01c2951017d387446fc2e62522f Mon Sep 17 00:00:00 2001 From: Julien Richard-Foy Date: Tue, 3 May 2022 16:15:14 +0200 Subject: [PATCH 6/7] =?UTF-8?q?Normalize=20name=20of=20SIP=20=E2=80=9CSeal?= =?UTF-8?q?ed=20types=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _sips/sips/2021-05-18-sealed-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_sips/sips/2021-05-18-sealed-types.md b/_sips/sips/2021-05-18-sealed-types.md index 369c705079..6c9406c97b 100644 --- a/_sips/sips/2021-05-18-sealed-types.md +++ b/_sips/sips/2021-05-18-sealed-types.md @@ -1,6 +1,6 @@ --- layout: sip -title: Sealed Types +title: SIP-NN - Sealed Types vote-status: pending permalink: /sips/:title.html redirect_from: /sips/pending/sealed-types.html From 51faf4329ac33c0d9f78895ef1597d32265178ca Mon Sep 17 00:00:00 2001 From: Julien Richard-Foy Date: Tue, 3 May 2022 16:35:54 +0200 Subject: [PATCH 7/7] Mark SIP-25 as complete --- _sips/sips/2015-6-18-trait-parameters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_sips/sips/2015-6-18-trait-parameters.md b/_sips/sips/2015-6-18-trait-parameters.md index 6abef5c4b8..a5dffe5446 100644 --- a/_sips/sips/2015-6-18-trait-parameters.md +++ b/_sips/sips/2015-6-18-trait-parameters.md @@ -1,7 +1,7 @@ --- layout: sip title: SIP-25 - Trait Parameters -vote-status: accepted +vote-status: complete vote-text: Trait parameters are implemented in Scala 3.0. permalink: /sips/:title.html redirect_from: /sips/pending/trait-parameters.html