# Scala Platform

**URL:** https://contributors.scala-lang.org/c/scala-platform/6.md

[Latest](https://contributors.scala-lang.org/latest.md) · [Categories](https://contributors.scala-lang.org/categories.md)

---

## [About the Scala Platform category](https://contributors.scala-lang.org/t/about-the-scala-platform-category/22)

<div class="topic-metadata">

**Author:** [@jvican](https://contributors.scala-lang.org/u/jvican)\
**Replies:** 0

</div>

Discussion of library proposals and modules, as well as ideas and suggestions to improve them.

---

## [Parameter untupling does not work with named tuples](https://contributors.scala-lang.org/t/parameter-untupling-does-not-work-with-named-tuples/7585)

<div class="topic-metadata">

**Author:** [@scalafan](https://contributors.scala-lang.org/u/scalafan)\
**Replies:** 3\
**Last updated:** [November 23, 2026, 2:21am UTC](https://contributors.scala-lang.org/t/parameter-untupling-does-not-work-with-named-tuples/7585 "2026-11-23T02:21:32Z")

</div>

Hello, I am not sure if this is a bug or a SIP candidate, but I have recently changed a few tuples to named tuples, and this code (parameter untupling) stopped compiling. val x: Vector\[(a: Int, b: String)\] = Vector.empt…

---

## [Core meeting: point 6](https://contributors.scala-lang.org/t/core-meeting-point-6/7530)

<div class="topic-metadata">

**Author:** [@OndrejSpanel](https://contributors.scala-lang.org/u/OndrejSpanel)\
**Replies:** 1\
**Last updated:** [August 21, 2026, 3:38pm UTC](https://contributors.scala-lang.org/t/core-meeting-point-6/7530 "2026-08-21T15:38:31Z")

</div>

@tgodzik Meeting notes mention: But I see no point 6. Was it meant to be 5, or is point 6 missing?

---

## [Customising IArray & Array Display?](https://contributors.scala-lang.org/t/customising-iarray-array-display/7494)

<div class="topic-metadata">

**Author:** [@Quafadas](https://contributors.scala-lang.org/u/Quafadas)\
**Replies:** 10\
**Last updated:** [July 6, 2026, 10:36pm UTC](https://contributors.scala-lang.org/t/customising-iarray-array-display/7494 "2026-07-06T22:36:20Z")

</div>

This is something I realised had been itching at me for a while that a conversation in another thread has prompted me to ask; Usability is fine if \[1, 2, 3, 4\] is an IArray. The whole point is that you’re not suppose…

---

## [🚀 Introducing Scalapptainer: drive Linux containers from Scala 3, on any OS. No daemon, no root](https://contributors.scala-lang.org/t/introducing-scalapptainer-drive-linux-containers-from-scala-3-on-any-os-no-daemon-no-root/7483)

<div class="topic-metadata">

**Author:** [@soronpo](https://contributors.scala-lang.org/u/soronpo)\
**Replies:** 8\
**Last updated:** [June 29, 2026, 5:08pm UTC](https://contributors.scala-lang.org/t/introducing-scalapptainer-drive-linux-containers-from-scala-3-on-any-os-no-daemon-no-root/7483 "2026-06-29T17:08:52Z")

</div>

:rocket: Introducing Scalapptainer: drive Linux containers from Scala 3, on any OS. No daemon, no root. Ever wanted a reproducible Linux toolchain (a specific compiler, simulator, CLI, or even a GUI app) that behaves id…

---

## [Compiling Scala to Python as a new platform for data engineering and AI](https://contributors.scala-lang.org/t/compiling-scala-to-python-as-a-new-platform-for-data-engineering-and-ai/7129)

<div class="topic-metadata">

**Author:** [@bjornregnell](https://contributors.scala-lang.org/u/bjornregnell)\
**Replies:** 73\
**Last updated:** [May 20, 2026, 11:36am UTC](https://contributors.scala-lang.org/t/compiling-scala-to-python-as-a-new-platform-for-data-engineering-and-ai/7129 "2026-05-20T11:36:22Z")

</div>

Yesterday at the latest SIP meeting we discussed how the Scala community can get better access to Python libraries such as numpy, pandas and tensorflow. We currently have ScalaPy but it relies on the JVM and there seems …

---

## [Extending Scala with modern concurrency primitives](https://contributors.scala-lang.org/t/extending-scala-with-modern-concurrency-primitives/7350)

<div class="topic-metadata">

**Author:** [@bishabosha](https://contributors.scala-lang.org/u/bishabosha)\
**Replies:** 28\
**Last updated:** [February 23, 2026, 12:26pm UTC](https://contributors.scala-lang.org/t/extending-scala-with-modern-concurrency-primitives/7350 "2026-02-23T12:26:09Z")

</div>

This thread is part of the projects covered by Sovereign Tech Fund’s investment in Scala. For the full context, please read the announcement blog post. On this forum, each project supported through this investment has…

---

## [Idiomatic approach to \`apply\` with varargs](https://contributors.scala-lang.org/t/idiomatic-approach-to-apply-with-varargs/7285)

<div class="topic-metadata">

**Author:** [@mdedetrich](https://contributors.scala-lang.org/u/mdedetrich)\
**Replies:** 9\
**Last updated:** [November 8, 2025, 12:35am UTC](https://contributors.scala-lang.org/t/idiomatic-approach-to-apply-with-varargs/7285 "2025-11-08T00:35:14Z")

</div>

At feat: Add Source#elements by He-Pin · Pull Request #2429 · apache/pekko · GitHub (pekko-streams) we are discussing adding a varargs constructor to a Source (which is a pure stream), i.e. def apply\[T\](elements: T\*): S…

---

## [How to get rid of Dropped Class Shadowing in Scala 3 Migration](https://contributors.scala-lang.org/t/how-to-get-rid-of-dropped-class-shadowing-in-scala-3-migration/7111)

<div class="topic-metadata">

**Author:** [@AMatveev](https://contributors.scala-lang.org/u/AMatveev)\
**Replies:** 0\
**Last updated:** [April 25, 2025, 11:14am UTC](https://contributors.scala-lang.org/t/how-to-get-rid-of-dropped-class-shadowing-in-scala-3-migration/7111 "2025-04-25T11:14:46Z")

</div>

Scala 3 dropped class shadowing, so we need to rename some traits to migrate to scala3. It is not an easy task when there are many such traits. class Base { trait Card { } } class Sub extends Base { trait Card ext…

---

## [Official recomendation for naming libraries suffixes](https://contributors.scala-lang.org/t/official-recomendation-for-naming-libraries-suffixes/6961)

<div class="topic-metadata">

**Author:** [@rssh](https://contributors.scala-lang.org/u/rssh)\
**Replies:** 5\
**Last updated:** [December 17, 2024, 10:14am UTC](https://contributors.scala-lang.org/t/official-recomendation-for-naming-libraries-suffixes/6961 "2024-12-17T10:14:26Z")

</div>

Hi, Let’s add to the Scala development guarantees | The Scala Programming Language some recommendations about library naming. This can be one phrase: “If you need to publish two versions of your library, one for the…

---

## [Feature proposal: Lightweight TypeTag (and serialising lowering in multi-stage compilation)](https://contributors.scala-lang.org/t/feature-proposal-lightweight-typetag-and-serialising-lowering-in-multi-stage-compilation/6589)

<div class="topic-metadata">

**Author:** [@tribbloid](https://contributors.scala-lang.org/u/tribbloid)\
**Replies:** 6\
**Last updated:** [March 7, 2024, 5:09am UTC](https://contributors.scala-lang.org/t/feature-proposal-lightweight-typetag-and-serialising-lowering-in-multi-stage-compilation/6589 "2024-03-07T05:09:01Z")

</div>

Following the successful experiment in In multi-stage compilation, should we use a standard serialisation method to ship objects through stages? - #22 by tribbloid, I’d like to publish its outcome as an independent libra…

---

## [Collections reviewers wanted](https://contributors.scala-lang.org/t/collections-reviewers-wanted/4814)

<div class="topic-metadata">

**Author:** [@SethTisue](https://contributors.scala-lang.org/u/SethTisue)\
**Replies:** 27\
**Last updated:** [August 28, 2023, 5:43am UTC](https://contributors.scala-lang.org/t/collections-reviewers-wanted/4814 "2023-08-28T05:43:11Z")

</div>

We recently created a GitHub “team” for the Scala collections API: https://github.com/orgs/scala/teams/collections Why? In general, the whole community is welcome to comment on any scala/scala PR, but we understand that…

---

## [Elvis operator for explicit nulls](https://contributors.scala-lang.org/t/elvis-operator-for-explicit-nulls/4639)

<div class="topic-metadata">

**Author:** [@ysthakur](https://contributors.scala-lang.org/u/ysthakur)\
**Replies:** 50\
**Last updated:** [May 9, 2023, 4:57pm UTC](https://contributors.scala-lang.org/t/elvis-operator-for-explicit-nulls/4639 "2023-05-09T16:57:14Z")

</div>

Scala 3’s explicit null feature is great, but it’s not as easy to work with as it is in Kotlin. There’s an nn method for non-null assertions, but something like Kotlin’s Elvis operator would be pretty great too. The lac…

---

## [Return of the Scala Actor?](https://contributors.scala-lang.org/t/return-of-the-scala-actor/6041)

<div class="topic-metadata">

**Author:** [@devlaam](https://contributors.scala-lang.org/u/devlaam)\
**Replies:** 10\
**Last updated:** [February 2, 2023, 5:20pm UTC](https://contributors.scala-lang.org/t/return-of-the-scala-actor/6041 "2023-02-02T17:20:36Z")

</div>

Actors used to be a part of the Scala library until they were deprecated in Scala 2.10 and subsequently removed. Akka was the full fledged open source replacement. There even was an implementation for Scala JS. However r…

---

## [NonFatal and ControlThrowable (changed in stdlib)](https://contributors.scala-lang.org/t/nonfatal-and-controlthrowable-changed-in-stdlib/6049)

<div class="topic-metadata">

**Author:** [@rssh](https://contributors.scala-lang.org/u/rssh)\
**Replies:** 34\
**Last updated:** [January 30, 2023, 6:25pm UTC](https://contributors.scala-lang.org/t/nonfatal-and-controlthrowable-changed-in-stdlib/6049 "2023-01-30T18:25:19Z")

</div>

Currently, ControlThrowable is excluded from handling in NonFatal. All asynchronous wrappers (i.e., Future, IO, ZIO) all use NonFatal in the catch clause. I think it’s incorrect – execution engines should report Con…

---

## [Adding try-with-resource to Scala](https://contributors.scala-lang.org/t/adding-try-with-resource-to-scala/1641)

<div class="topic-metadata">

**Author:** [@varming](https://contributors.scala-lang.org/u/varming)\
**Replies:** 23\
**Last updated:** [December 22, 2022, 12:42am UTC](https://contributors.scala-lang.org/t/adding-try-with-resource-to-scala/1641 "2022-12-22T00:42:14Z")

</div>

I recently opened up a PR (https://github.com/scala/scala/pull/6347) to add scala.util.Loan, an implementation of try-with-resource, to the Scala library. @lrytz suggested that it might be better to extend the native try…

---

## [The Typelevel stack and Scala Native](https://contributors.scala-lang.org/t/the-typelevel-stack-and-scala-native/5926)

<div class="topic-metadata">

**Author:** [@armanbilge](https://contributors.scala-lang.org/u/armanbilge)\
**Replies:** 17\
**Last updated:** [December 14, 2022, 5:45pm UTC](https://contributors.scala-lang.org/t/the-typelevel-stack-and-scala-native/5926 "2022-12-14T17:45:46Z")

</div>

Key points: The Typelevel stack now offers a complete platform for Scala Native: concurrent fiber runtime, non-blocking network I/O, TLS, HTTP server+client, Redis client. Coming soon: Postgres client, serverless integ…

---

## [Adding Akka's ByteString as a Scala module and/or stdlib](https://contributors.scala-lang.org/t/adding-akkas-bytestring-as-a-scala-module-and-or-stdlib/5967)

<div class="topic-metadata">

**Author:** [@mdedetrich](https://contributors.scala-lang.org/u/mdedetrich)\
**Replies:** 10\
**Last updated:** [October 22, 2022, 12:45pm UTC](https://contributors.scala-lang.org/t/adding-akkas-bytestring-as-a-scala-module-and-or-stdlib/5967 "2022-10-22T12:45:57Z")

</div>

Similar to other data structures that have recently been added to Scala’s stdlib such as VectorMap, I am proposing to add in ByteString as a Scala module and/or stdlib. The ByteString is a String backed by a rope like da…

---

## [Clear REPL console](https://contributors.scala-lang.org/t/clear-repl-console/523)

<div class="topic-metadata">

**Author:** [@OpsRJ](https://contributors.scala-lang.org/u/OpsRJ)\
**Replies:** 14\
**Last updated:** [November 17, 2021, 4:10pm UTC](https://contributors.scala-lang.org/t/clear-repl-console/523 "2021-11-17T16:10:17Z")

</div>

I would like to know if is possible to add a command to clear the REPL console?

---

## [Removal of public def ArrayBuffer.reduceToSize(n: Int) in 2.13.x](https://contributors.scala-lang.org/t/removal-of-public-def-arraybuffer-reducetosize-n-int-in-2-13-x/5303)

<div class="topic-metadata">

**Author:** [@eejbyfeldt](https://contributors.scala-lang.org/u/eejbyfeldt)\
**Replies:** 2\
**Last updated:** [October 27, 2021, 8:21pm UTC](https://contributors.scala-lang.org/t/removal-of-public-def-arraybuffer-reducetosize-n-int-in-2-13-x/5303 "2021-10-27T20:21:59Z")

</div>

I would like to understand the design decision to remove the public method reduceToSize from ArrayBuffer in 2.13.x. In Scala 2.12.x ArrayBuffer had a public method reduceToSize that was implemented in ResizableArray. In …

---

## [Add isJS, isJVM, and isNative inline methods to scala.util.Properties](https://contributors.scala-lang.org/t/add-isjs-isjvm-and-isnative-inline-methods-to-scala-util-properties/5246)

<div class="topic-metadata">

**Author:** [@AugustNagro](https://contributors.scala-lang.org/u/AugustNagro)\
**Replies:** 1\
**Last updated:** [October 5, 2021, 6:22pm UTC](https://contributors.scala-lang.org/t/add-isjs-isjvm-and-isnative-inline-methods-to-scala-util-properties/5246 "2021-10-05T18:22:07Z")

</div>

scala.util.Properties already has methods isWin and isMac, but no way to tell if Scala is running on the JVM, JS, or Native platforms. This information is pretty important in applications like Scala 3’s Typeclass Deriva…

---

## [Scala-xml 2.0: time to go RC and then final?](https://contributors.scala-lang.org/t/scala-xml-2-0-time-to-go-rc-and-then-final/4917)

<div class="topic-metadata">

**Author:** [@SethTisue](https://contributors.scala-lang.org/u/SethTisue)\
**Replies:** 0\
**Last updated:** [March 3, 2021, 8:31pm UTC](https://contributors.scala-lang.org/t/scala-xml-2-0-time-to-go-rc-and-then-final/4917 "2021-03-03T20:31:09Z")

</div>

scala-xml 2.0 has been in milestones for a long time now. It’s the only version available for Scala 3 (and 2, of course). Any reason it shouldn’t go 2.0.0-RC1 and then 2.0.0, soon? Please speak up on the release-planning…

---

## [Adding key/value method aliases to Tuple2](https://contributors.scala-lang.org/t/adding-key-value-method-aliases-to-tuple2/4697)

<div class="topic-metadata">

**Author:** [@rgwilton](https://contributors.scala-lang.org/u/rgwilton)\
**Replies:** 3\
**Last updated:** [December 7, 2020, 6:40pm UTC](https://contributors.scala-lang.org/t/adding-key-value-method-aliases-to-tuple2/4697 "2020-12-07T18:40:46Z")

</div>

Various methods on Maps end up returning a Iterable collection over key value pairs. Handling these in Scala can sometimes seem a bit verbose or opaque, with my understanding that the choices seemingly being either a pa…

---

## [Naming conventions for collections API](https://contributors.scala-lang.org/t/naming-conventions-for-collections-api/4592)

<div class="topic-metadata">

**Author:** [@liontiger23](https://contributors.scala-lang.org/u/liontiger23)\
**Replies:** 3\
**Last updated:** [November 17, 2020, 7:31am UTC](https://contributors.scala-lang.org/t/naming-conventions-for-collections-api/4592 "2020-11-17T07:31:41Z")

</div>

Recently I’ve noticed that collections API names in Scala are a bit inconsistent: there are methods with -ed like sorted, appended and prepended, but also the ones without -ed like reverse, filter, map and more bizarrely…

---

## [Exponent for fractional and/or numeric type classe(s)](https://contributors.scala-lang.org/t/exponent-for-fractional-and-or-numeric-type-classe-s/4204)

<div class="topic-metadata">

**Author:** [@sherpal](https://contributors.scala-lang.org/u/sherpal)\
**Replies:** 6\
**Last updated:** [June 30, 2020, 10:03pm UTC](https://contributors.scala-lang.org/t/exponent-for-fractional-and-or-numeric-type-classe-s/4204 "2020-06-30T22:03:20Z")

</div>

In my opinion, the Fractional and/or Numeric type-classes lack one feature that I personally end up recoding a lot: being able to exponentiate by an integer. Current situation Currently, only the math package has the f…

---

## [Providing BMs of Scala and Scala.JS releases](https://contributors.scala-lang.org/t/providing-bms-of-scala-and-scala-js-releases/4302)

<div class="topic-metadata">

**Author:** [@japgolly](https://contributors.scala-lang.org/u/japgolly)\
**Replies:** 4\
**Last updated:** [June 30, 2020, 1:25am UTC](https://contributors.scala-lang.org/t/providing-bms-of-scala-and-scala-js-releases/4302 "2020-06-30T01:25:26Z")

</div>

One of my OSS libraries is scalajs-benchmark which provides a means to benchmark Scala.JS-generated code. I’ve recently added some new features to this: ability to save results, with JMH JSON being one of the supported…

---

## [Proposal: new operator for exponentiation](https://contributors.scala-lang.org/t/proposal-new-operator-for-exponentiation/4382)

<div class="topic-metadata">

**Author:** [@bunkenburg](https://contributors.scala-lang.org/u/bunkenburg)\
**Replies:** 2\
**Last updated:** [June 29, 2020, 8:52pm UTC](https://contributors.scala-lang.org/t/proposal-new-operator-for-exponentiation/4382 "2020-06-29T20:52:12Z")

</div>

I’d like to add an operator for exponentiation to Scala. In maths, exponentiation is expressed by layout rather than by a symbol. We can’t do that. I propose the symbol \\. It suggests the traditional layout. For exampl…

---

## [Standardizing IO Interfaces for Scala Libraries](https://contributors.scala-lang.org/t/standardizing-io-interfaces-for-scala-libraries/3936)

<div class="topic-metadata">

**Author:** [@lihaoyi](https://contributors.scala-lang.org/u/lihaoyi)\
**Replies:** 15\
**Last updated:** [January 2, 2020, 2:19pm UTC](https://contributors.scala-lang.org/t/standardizing-io-interfaces-for-scala-libraries/3936 "2020-01-02T14:19:38Z")

</div>

Wrote a blog post about standardizing some of the interfaces my libraries using to exchange streaming binary data: http://www.lihaoyi.com/post/StandardizingIOInterfacesforScalaLibraries.html Thought this might be of i…

---

## [Accommodate BlockContext for locking](https://contributors.scala-lang.org/t/accommodate-blockcontext-for-locking/3884)

<div class="topic-metadata">

**Author:** [@leventov](https://contributors.scala-lang.org/u/leventov)\
**Replies:** 4\
**Last updated:** [December 23, 2019, 6:05pm UTC](https://contributors.scala-lang.org/t/accommodate-blockcontext-for-locking/3884 "2019-12-23T18:05:55Z")

</div>

I think it would be nice if Scala supported blocking {}-style operations with Locks. For example: val myLock: ReentrantLock withLock(myLock) { ... } Where withLock is a Scala library function along the lines of: d…

---

## [Add Either.recover?](https://contributors.scala-lang.org/t/add-either-recover/3871)

<div class="topic-metadata">

**Author:** [@jxtps](https://contributors.scala-lang.org/u/jxtps)\
**Replies:** 3\
**Last updated:** [December 12, 2019, 12:04pm UTC](https://contributors.scala-lang.org/t/add-either-recover/3871 "2019-12-12T12:04:14Z")

</div>

I use Either to indicate Either\[Error, Ok\] as I believe is common usage, and frequently find that I do the following: val result: Either\[MyError, MyActualResult\] = ... // some computation result.fold(err =\> recover(err)…

[Next page](https://contributors.scala-lang.org/c/scala-platform/6.md?page=1)
