A free, once-weekly Scala news flash. Easy to unsubscribe. Goes out every Thursday.
June 6th, 2019, ISSUE 277

READING

Final Free Structures with Subtyping

Final algebraic form along with contravariance gives a chance to build powerful cost-free relation system between recursive types, simple or higher-kinded.
Oleg Nizhnik (@Odomontois)
Exploring the STM functionality in ZIO

How to tie ZIO STM, ZIO environment, ZIO typed errors, and ZIO execution traces into a beautiful solution that solves a real business problem quickly and correctly.
Fredrik Skogberg (@freskog)
The Evolution of a Scala Programmer

17 different ways to calculate a factorial, see how close you are to the enlightenment.
Alexey Avramenko (@vvviiimmm)
How to work with Files in Scala

This tutorial will walk through how to easily work with files in the Scala programming language, in a way that scales from interactive usage in the REPL, to your first Scala scripts, to usage in a production system or application.
Li Haoyi (@li_haoyi)
Top Link Of May: The little gems of Scala standard library

Turns out there's a huge interest in re-discovering some of these utilities.
Linas Medžiūnas

PRESENTATIONS

Cats by example - Monad Transformers

Another part of this video tutorial series.
Thomas Höfer (@TomTriple)
Monads - Part 4 - Common Monads - Maybe, List, Future, IO, Reader, State

In this video we will learn about a few common Monads. We will also learn about type lambdas, partial type application and partial unification. Additionally we will learn how to use the kind-projector Scala compiler plugin.
DevInsideYou (@DevInsideYou)

EVENTS

LX Scala & Reactive, Lisbon, Portugal, 4th - 5th July

Use promo code scalatimes_ to get a 40% discount for our readers!
LX Scala & Reactive (@lx_scala)
CFP for Lambda World, Cádiz, Spain, October 17th - 18th

Deadline for submissions is June 1st.
Lambda World (@lambda_world)
BeeScala, Ljubljana, Slovenia, November 21st - 21rd

Don't miss your ticket for this unique conference!
BeeScala (@BeeScalaConf)

RELEASES

Scala 2.13.0-RC3

Scala 2.13 is almost there! This RC introduces only some minor changes.
Scala contributors
scala-graal

Scala / GraalVM integration focused on FP & nice ergonomics from Scala, Performance & multithreading, and React SSR.
David Barri (@japgolly)

VARIA

Scala Times banners?

Want one? Click here
THE INTERNET
Scala Times stickers?

Want one? Let us know or tweet @scalatimes.
THE INTERNET





  1. Scala Times Issue #288

    Bootzooka 2019: functional Scala and React. The Science of Functional Programming book. Scala's isInstanceOf is an Anti-Pattern. A Scala “functional programming style” To-Do List application written with Cats. Minutes of the 13th meeting of the Scala Center, Q2 2019.


  2. Scala Times Issue #287

    When do you need Akka Cluster?. Hangman in FP Scala. Make your Google Spreadsheets Scala-ble. Understanding Monoids using real life examples. Scala in the City, London, Simply Business, August 28th.


  3. Scala Times Issue #286

    Tic-tac-toe in FP Scala. How to create Build Pipelines in Scala. Tour of Akka Typed: Message Adapters, Ask Pattern and Actor Discovery. Promise for better Future. Streaming data with Apache Kafka and Akka Streams.


  4. Scala Times Issue #285

    Monad Transformers and Cats MTL. Ratelimiter4s : A functional rate limiting library. A way out of the Jar Hell. Wrapping impure code with ZIO. XXE Attacks in Scala and Play Framework.


  5. Scala Times Issue #284

    Cross-compiling In Scala. IntelliJ Scala Plugin 2019.2. Introducing Scala Cypher DSL. Tame your config. A rate-limiter in 15 lines of code with cats-effect.


  6. Scala Times Issue #283

    Python vs. Scala: a comparison of the basic commands. Keep your projects up-to-date with Scala Steward. My favorite new features of Scala 2.13 standard library. Implementing a server for the Language Server Protocol. Homegrown Scala Collections: Testing Streams.


  7. Scala Times Issue #282

    Read Pure functional HTTP APIs in Scala | Leanpub. Combining ZIO and Akka to enable distributed FP in Scala. Rethinking Streaming Workloads with Akka Streams: Part II. ES/CQRS the Akka way - Krunoslav Uzelac - Medium. Tour of Akka Typed: Protocols and Behaviors.


  8. Scala Times Issue #281

    Abstracting Over Effect Types. Reusable pre-commit hooks in Scala projects. Functional Highlighting for Functional Programming. Top Link of June: The Evolution of a Scala Programmer. Lambda World, Cádiz, Spain, October 17th - 18th.


  9. Scala Times Issue #280

    Comonads for Life. TypeSafe journey using Scala. Scala programming language wins SIGPLAN award. Shapeless' HLists and how to traverse them. How to work with JSON in Scala.


  10. Scala Times Issue #279

    Thread shifting in cats-effect and ZIO. How to work with HTTP JSON APIs in Scala. ZIO with http4s and doobie. Optimizing CI build times for Scala projects. The False Hope of Tagless-Final in Scala.


  11. Scala Times Issue #278

    Counting to infinity at compile time. Vectos - A functional ecosystem. Scala 2.13.0 for the Akka family. The place of applicative style in today's Scala. This Month We've Learned - May’19 .


  12. Scala Times Issue #277

    Final Free Structures with Subtyping. Exploring the STM functionality in ZIO. The Evolution of a Scala Programmer. How to work with Files in Scala. Top Link Of May: The little gems of Scala standard library.


  13. Scala Times Issue #276

    Small & fast Docker images using GraalVM’s native-image. SystemFw FP blog. IO monad: which, why and how. Counting at compile time. Why I'm Stepping Back from Scalaz.


  14. Scala Times Issue #275

    Tagless unions in scala 2.12. Combine IntelliJ IDEA with Hydra for the fastest Scala development experience. TMWL April’19  - qubits, scripting Google Apps & Scala tricks. Performant Functional Programming to the max with ZIO.


  15. Scala Times Issue #274

    AST playground: recursion schemes and recursive data. Rethinking Streaming Workloads with Akka Streams: Part I. Sharing is Caring!. A Scala tutorial for Java developers. Scala: Useful User Information + Why you should consider the Language.


  16. Scala Times Issue #273

    Community and Communication. Futures Made Easy with Scala. Scala: Useful User Information + Why you should consider the Language. Using 47 Degree's Fetch library with ZIO. Scala Compilation Got 5x Faster With Triplequote Hydra.


  17. Scala Times Issue #272

    The little gems of Scala standard library. Practical fiber safety (and how Concurrent implies Parallel). Typelevel Sustainability Program Announcement. Homegrown #Scala Collections - ScalaCheck / ScalaTest Integration. Alphabet Soup: Lensing, for free.


  18. Scala Times Issue #271

    ZIO & Cats Effect: A Match Made in Heaven. Concurrency is complicated. An introduction to Law Testing in Scala. Celebrating 10 Years of Akka. Alphabet Soup: Type-level transformations.


  19. Scala Times Issue #270

    Akka 2.6 roadmap. Extending MapR Database Queries Using Scala Polymorphic Types. Marvels of functional programming: Composing effects with monads. Traverse your HLists for fun and profit. Did Functional Programming get it wrong?.


  20. Scala Times Issue #269

    Scalar 2019 whiteboard voting. 38 lines of code towards better data validation in Scala. Scala: Internals and Intermediates. Hacker News API Part 5. Scala Ordering Crash Course.


  21. Scala Times Issue #268

    Functional Hangman with ZIO. Scala or Go: Tastes Great or Less Filling?. An Example of Free Monads and Optimization. Homegrown Scala Collections - Part 29 - Are Views Typeclasses?. Scalar, Warsaw, Poland April 5th - 6th.


  22. Scala Times Issue #267

    Bloop’s compiler performance is ~29% faster than SBT. Fourth batch of Scala 3 SIPs. Functional Hangman with ZIO. Scala: Understanding Variance. Fun with mutually-recursive typeclass resolution.


  23. Scala Times Issue #266

    The RedMonk Programming Language Rankings: January 2019. A monad is not a burrito. Joins in Apache Spark - Part 3. Scala sbt Project Directory Structure. Scala Snippets #1: Instantiable Implicits.


  24. Scala Times Issue #265

    Testing Incrementally with ZIO Environment. Finally Tagless - Not Quite Dead Yet. Functional Testing with Tagless-Final. Monad Transformers aren’t hard!. The Functional Scala Concurrency Challenge.


  25. Scala Times Issue #264

    Final Tagless seen alive. Effectful Episode with John de Goes. State vs Stateful Actor. Phil Bagwell Nominations. Introduction to Akka Streams.


Organizing an event?
Promote it with
Scala Times.
The Scala Times reader?
Get a banner!
Got a tip? Send it in!
Follow us on Twitter.
Curated by SoftwareMill.
We are hiring.
And taking on projects.