Skip to content

Instantly share code, notes, and snippets.

Seth Tisue SethTisue

View GitHub Profile
@SethTisue
SethTisue / license.txt
Created Jul 31, 2020
Lightbend license for Micro Focus / Trang / Fortify use
View license.txt
===== LIGHTBEND ENTERPRISE SUITE LICENSE =====
DO NOT TAMPER WITH THIS FILE - DOING SO CONTRAVENES THE LICENSE YOU'VE AGREED TO:
http://downloads.lightbend.com/website/legal/LightbendSubscriptionAgreement.pdf
user: 149316d3-2d23-4be7-887e-2d40771823e0@lightbend
grants: fortify
expiry: 2023-07-28T00:00:00Z
------------------------------------------------------------
AAAAAQAAAGF1c2VyOiAxNDkzMTZkMy0yZDIzLTRiZTctODg3ZS0yZDQwNzcx
ODIzZTBAbGlnaHRiZW5kCmdyYW50czogZm9ydGlmeQpleHBpcnk6IDIwMjMt
MDctMjhUMDA6MDA6MDBaAAAALjAsAhQJZpfLq0LHqntkyrSZCLRrAG8c9AIU
@SethTisue
SethTisue / release-notes-2.13.3.md
Last active Jun 25, 2020
Scala 2.13.3 draft release notes
View release-notes-2.13.3.md
@SethTisue
SethTisue / release-notes-2.12.11.md
Last active Mar 11, 2020
draft release notes for Scala 2.12.11
View release-notes-2.12.11.md

Collections fixes

  • Fix 2.12-only bug where some toX methods could expose the underlying mutability of a ListBuffer-generated collection (#8674)

(The release includes other collections bugfixes, but this one is especially notable.)

Java interoperability

@SethTisue
SethTisue / scalawags-39.md
Last active Dec 30, 2019
Scalawags #39: Scala Center + Scala Days
View scalawags-39.md
@SethTisue
SethTisue / 2-12-10.md
Last active Sep 10, 2019
Scala 2.12.10 release notes (DRAFT)
View 2-12-10.md

Highlights

The main purpose of this release is to fix the following regressions in 2.12.9:

  • Fix regression in large string interpolations with non-String typed splices (#8315)
  • Revert "Generate shallower ASTs in pattern translation" (#8327, reverting #8061)
  • Fix regression in classpath when JARs have 'a.b' entries beside 'a/b' (#8321)

Further highlights

View Scala_2.12.9.md

Fixes with compatibility implications

Scala 2.12.9 generates shallower ASTs in pattern translation, to reduce stack size requirements (-Xss) during compilation.

Scala.js users must update to 0.6.28+ or 1.0.0-M8+ for compatibility with Scala 2.12.9. (#7375)

Highlights of 2.12.9

  • Improved compatibility with JDK 11, 12, and 13 (see below)
@SethTisue
SethTisue / chaining-implicits.md
Last active Jun 19, 2019
chaining implicit conversions in Scala 2 and Scala 3
View chaining-implicits.md

in Scala 2, they don't chain 😇, even if we try to give the compiler an assist

can we make them chain in Dotty? 😈

let's try it!

first let's set up sbt:

% cat project/plugins.sbt
@SethTisue
SethTisue / RC2.md
Last active May 17, 2019
Scala 2.13.0-RC2 draft release notes
@SethTisue
SethTisue / RC1-draft-release-notes.md
Last active Apr 5, 2019
Scala 2.13.0-RC1 draft release notes
View RC1-draft-release-notes.md
@SethTisue
SethTisue / gist:8977033
Last active Nov 27, 2018
Example of `lazy val` inside `implicit class`
View gist:8977033
// `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:
You can’t perform that action at this time.