Functional Roundup for June 24, 2016

Functional Roundup for June 24, 2016

Scalafmt 0.2.6

Scalafmt 0.2.6 and 0.2.8 released

Scalafmt 0.2.6 was released this week, quickly followed 0.2.8.

0.2.6 features 43 new bug fixes including:

  • 336 Complex case guards get reordered all over the place.
  • 318 Anonymous inner class as call-site parameter incorrectly indented
  • 305 {} of method body ejected on the next line
  • 286 Add alignByArrowEnumeratorGenerator to CLI flags.
  • 269 New-line in assignment

0.2.8:

  • 343: Idempotency issue with 0.2.6.

The update included merging PRs from five contributors and issues from 12 contributors.

The rest of the changes can be found in the Scalafmt changelog.


trailing comma support

SI-4986 brings back support for trailing commas

Dale Wijnand submitted a PR to add support back for trailing commas. He lovingly refers to it as the glorious return of “Comma McTraily” (but let’s face it, Boaty McBoatface still reigns supreme). The PR would add trailing comma support to tuples, argument and parameter groups including for implicits, for functions, methods and constructors, and import selectors, according to Wijnand.

He’s currently working on the SIP with additional features.

You can view more about SI-4986 here: SI-4986 The Glorious return of Comma McTraily


dotty website

Dotty’s official website launches

The much hyped Dotty officially has a website as of June 21st.

The new compiler supports the evolution of the Scala programming language, builds on DOT in its internal data structures, and expresses generics as type members.

The site explains,

“Dotty is a platform to try out new language concepts and compiler technologies for Scala. The focus is mainly on simplification. We remove extraneous syntax (e.g. no XML literals), and try to boil down Scala’s types into a smaller set of more fundamental constructors. The theory behind these constructors is researched in DOT, a calculus for dependent object types.”

While Dotty is usable at the moment, they warn there is no guarantee of it’s stability at this point. It currently interops with libraries compiled with Scala 2.11.

You can view more about Dotty here: Dotty


ScalaBridge

ScalaBridge launches website and initiative

ScalaBridge is a movement to build an inclusive Scala community to support women in programming and offer introductory workshops.

Kelley Robinson of Sharethrough announced the launch of the website and casually threw in that ScalaBridge.org was not written in Scala.

You can view more about ScalaBridge here: Scala Bridge


Suggested information to digest this weekend:

The functional programming community has no shortage of excellent conferences and talks. Here are just a few that were recently released that we recommend checking out if you missed them the first time:

Miles Sabin:

  • Typelevel in 2016
  • Scala Days - Berlin, DE

Miles Sabin presents an overlook of what’s in store in 2016 for the Typelevel community, projects, and events. He also gives insight into the colloborations between Algebra, Spire, and Cats; Cats and shapeless; shapeless and sodec, doobie, ScvalaCheck and Circe.

View the slides here:

Typelevel in 2016


Konrad Malawski

  • Akka Streams and Reactive Streams in Action
  • Scala Days - Berlin, DE

Konrad Malawski presents a deeper look into Akka Streams (the implementation) and Reactive Streams (the standard).

He explains, “The term streams has been recently pretty overloaded, so we’ll disambiguate what streams are and what they aren’t. We’ll dive into a number of real life scenarios where applying back-pressure helps to keep your systems fast and healthy at the same time. We’ll mostly focus on the Akka Streams implementation, but the general principles apply to any kind of asynchronous programming.”

View the slides here:


Upcoming Events:

Seattle Data Engineering

  • June 27th
  • Galvanize - Seattle, WA

Scala at the Sea

  • July 12th
  • WhitePages - Seattle, WA

Scala Up North

  • August 5th - 6th
  • Concordia University - Montreal, Quebec

Have a news tip for us? Tweet to us @47deg or send to us via email here.

blog comments powered by Disqus

Ensure the success of your project

47 Degrees can work with you to help manage the risks of technology evolution, develop a team of top-tier engaged developers, improve productivity, lower maintenance cost, increase hardware utilization, and improve product quality; all while using the best technologies.