the notes are now published at https://github.com/scala/scala/releases/tag/v2.13.0-RC1
it's not too late to improve the notes!
please send comments any of the following ways:
the notes are now published at https://github.com/scala/scala/releases/tag/v2.13.0-RC1
it's not too late to improve the notes!
please send comments any of the following ways:
// `lazy val` inside `implicit class` | |
implicit class RichStream[T](s: Stream[T]) { | |
lazy val circular: Stream[T] = | |
s #::: circular | |
} | |
// in order to make this work with `extends AnyVal`, you have to make the | |
// lazy val local, as follows: |
Scala 2.13 is getting closer and closer!
We've been polishing the improved and simplified Scala collections library that first shipped in 2.13.0-M4. We expect the API to remain stable now, though there may still be minor changes in RC1.
M5 is our feature-freeze release for 2.13. From here forward, we’ll close existing open loops but not embark on or accept new work.
The major collections changes already landed in M4. See the M4 release notes for a summary.
I hereby claim:
To claim this, I am signing this object:
"Smokescreen" by Desperate Bicycles | |
please send corrections to seth@tisue.net | |
bringing good news on a fast train | |
bringing fast news on a goods train | |
they're running (?) sometime after midnight (somebody?) | |
all covered in dirt | |
and I had nothing but a good deal | |
and I had a good deal full of nothing |
(excerpts from emails I sent my co-workers at Northwestern University)
Did some reading on Scala, Groovy, and JRuby. I'm interested in adding another language to the devel team's repertoire, a JVM-based language that interoperates smoothly with Java code so we could write new code in the new language without being forced to change existing code. I'm particularly interested in having a more powerful language than Java to use for
Welcome to Scala 2.12.4 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_131). | |
Type in expressions for evaluation. Or try :help. | |
scala> :power | |
Power mode enabled. :phase is at typer. | |
import scala.tools.nsc._, intp.global._, definitions._ | |
Try :help or completions for vals._ and power._ | |
scala> println(nodePrinters.nodeToString(reify { List(1, 2, 3).map(_ * 2) }.tree)) | |
Apply( |
scala> Array("a", "b", "c", "d") | |
res0: Array[String] = Array(a, b, c, d) | |
scala> res0.view.slice(1, 3) | |
res1: scala.collection.mutable.IndexedSeqView[String,Array[String]] = SeqViewS(...) | |
scala> res1.toList | |
res2: List[String] = List(b, c) | |
scala> res1(0) = "zzz" |
scala> trait T; class C[T2 <: T](val t: T2, b: Boolean = true, n: Int = 0) | |
defined trait T | |
defined class C | |
scala> val t = new T { } | |
t: T = $anon$1@f2a1813 | |
scala> new C[t.type](t) | |
res0: C[<refinement>.type] = C@7645f03e |
* 049f0ec06c (origin/HEAD, origin/2.12.x) Merge pull request #5936 from adriaanm/i10244-bitmaps-for-fields | |
|\ | |
| * 5f86b1d94d Drive bitmap computation from field, not accessor | |
* | e72ab5ad07 Merge pull request #5940 from janekdb/topic/2.12/intellij-code-analysis-unused-format-args | |
|\ \ | |
| * | 7eb861cb22 Remove unused format arg in interpreter echo | |
| |/ | |
* | 2c50123696 Merge pull request #5822 from lrytz/t9937 | |
|\ \ | |
| * | 04d4f4c61a SI-9937 find nested java classes if InnnerClass entry is missing |