Scala 3.7.0, the newest model of the object-oriented, practical language with JVM, native, and JavaScript runtimes, stabilizes named tuples and brings a “crucial” repair that enhances its compatibility with Android.
Scala 3.7.0 was introduced May 7. Installation directions will be discovered at scala-lang.org.
In Scala 3.7.0, named tuples, launched as experimental in Scala 3.5 in August 2024, change into steady. Named tuples present a handy solution to return a number of outcomes from a perform or to mannequin the info utilizing tuples, whereas permitting builders to make use of significant names for its fields, Wojciech Mazur of VirtusLab wrote in a weblog put up saying the discharge.