A free, once-weekly Scala news flash. Easy to unsubscribe. Goes out every Thursday.
March 4th, 2021, ISSUE 368

READING

Scala 3 Tech Report

The report summarises developers' expectations for Scala 3 and their view on the future of Scala.
SoftwareMill (@softwaremill)
Tuples bring generic programming to Scala 3

In Scala 3, tuples gain power thanks to new operations, additional type safety and fewer restrictions, pointing in the direction of a construct called Heterogeneous Lists (HLists), one of the core data structures in generic programming.
Vincenzo Bazzucchi
Scala Cats Invariant Functor

If you understand the concept of Covariant and Contravariant types of functors, then the Invariant will be easy to grasp as it combines functionality from both the functors mentioned above.
Krzysztof Grajek (@grajo)
Lean for Scala programmers

Lean is a theorem prover and programming language It is based on the calculus of constructions with inductive types.
Juan Pablo Romero Méndez
Scala Algorithms

An e-resource offering a variety of thoroughly explained algorithms, with free samples.
William Narmontas (@ScalaWilliam)

VIDEOS

Structuring Services with ZIO and ZLayer

We learn to structure our various services so that they're more modular and independent, consistent in their structure, easier to read and maintain, and easy to combine.
Daniel Ciocîrlan (@rockthejvm)

EVENTS

SF Scala: How to survive algorithms in Scala & A Metals Retrospective, March 6th

In the first talk, you will learn about William's journey with algorithms in Scala and the educational website "Scala Algorithms". Then Chris will give an overview of the newest Metals features and large changes that happened this past year, giving a preview of what is likely to come this year, and also spend some time addressing common misconceptions that users may have about Metals and the Metals ecosystem.
William Narmontas, Chris Kipp
ZIO World, March 11th, online event

Join ZIO users and contributors for the inaugural ZIO World, which reveals ZIO 2.0, providing inspiration and new opportunities to create the most powerful reactive applications on the JVM. FREE of charge for all ZIO Contributors and Users.
Ziverge (@zivergetech)
Production-grade microservices with ZIO, March 24th, online event (GMT)

In this talk, Itamar will share from his experience in running microservices-based on ZIO in production: resilient, Kubernetes-friendly structuring; cloud-native observability with logs, metrics and telemetry, and modern ways of service communication.
Itamar Ravid (@itrvd)
Practical Functional Programming with Typescript workshop, May 5th - 7th

20% off for Scala Times readers!
Matechs, Ziverge
ScalaCon, May 18th - 21st. and Nov. 2nd - 5th, online event

Brought to you by ScalaDays and Scala eXchange, ScalaCon is a series of virtual conferences designed to bring the Scala community closer together.
ScalaCon (@scalacon)

RELEASES

http4s 0.22.0-M5

Introducing support for Scala 3, new header model, some removed deprecations, and more!
http4s contributors
sttp 3.1.7

Web sockets support in JS backend, as well as many dependency updates.
sttp contributors





  1. Scala Times Issue #383

    Existential Crisis: Implementing MapK in Scala 3 . What is ZIO and should you learn it?. Zymposium, June 18th (PDT). ZIO Hackathon, Oct 29th - 31st (CET). ScalaCon, November 2nd - 5th.


  2. Scala Times Issue #382

    Cats: Essential Type Class Hierarchy, Explained. Debugging and Observing Your Scala Code. Programs as Values, Part III: Explicit Control Flow. Programming in Scala Fifth Edition . Favor composition over inheritance in Scala3 with exports!.


  3. Scala Times Issue #381

    Top Level Exports in Scala3. Death of Blocker: blocking in Cats Effect 3 - Scala tutorial. Functional Scala, Dec 2nd - 3rd.


  4. Scala Times Issue #380

    Scala 3 Hello, world!. Scala 3 macros tips & tricks. Build your own refinement types in Scala 3. How To Implement Streaming Microservices Using ZIO and Kafka. How to successfully manage a ZIO Fiber’s lifecycle.


  5. Scala Times Issue #379

    Scala 3 is here!. New Online Course: Effective Programming in Scala. Image editing with Comonads. Generalized Algebraic Datatypes in Scala 3. Kind Projector Migration.


  6. Scala Times Special Scala 3 Issue

    Starting with Scala. Programming in Scala, Fifth Edition. Scala 3 Tech Report. Automatically Deriving Typeclass Instances in Scala 3. Starting with Scala 3 macros: a short tutorial.


  7. Scala Times Issue #378

    From Highschool to Teaching Scala. Rust for the Seasoned Scala Developer. Bring gRPC payloads and domain models closer with ScalaPB transformations. Flog: a functional logger for Scala. Opaque Type Alias in Scala 3.


  8. Scala Times Issue #377

    Typeclasses in Scala 3. Scala 3 Release Party - find out how it went!. Typelevel Discord migration. Scalabase, May 14th. ScalaCon, May 18th - 21st. and Nov. 2nd - 5th.


  9. Scala Times Issue #376

    Cats Effect 3 - Introduction to Fibers. Bintray to JFrog Artifactory migration status and sbt 1.5.1. Anomaly / outlier detection using isolation forest in Scala. Comparing Concurrent Programming Alternatives. Scala 3: Safer Pattern Matching with Matchable.


  10. Scala Times Issue #375

    A ZIO cheatsheet. Programming in Scala, Fifth Edition. Dealing with Optional Values. Best Features of Scala 3 for Scala.js. ZIO Meetup SF, April 22nd.


  11. Scala Times Issue #374

    Image editing with Monads. Fire-and-Forget in Cats Effect. Programming in Scala, Fifth Edition. Scala 3: Extension Methods. The Scala3 feature I'm most excited about!.


  12. Scala Times Issue #373

    Context is King. How to build an Android app in Scala 2.13. Revisiting Scala Native performance. Scala 3 in sbt 1.5. Programming in Scala, Fifth Edition.


  13. Scala Times Issue #372

    Using Cats Effect Resource in Non-Functional Contexts. Cats Effect · The pure asynchronous runtime for Scala. Figuring out Scala functional programming libraries. Scala 3: Infix Operator Notation. Building a transportation cloud with microservices.


  14. Scala Times Issue #371

    Introducing ZIO Http. Automatic UI generation with Scala 3's type class derivation. Scala is a Maintenance Nightmare. The Tagless Final Pattern in Scala. Scala3-migrate: a tool making it easier to migrate to Scala 3.


  15. Scala Times Issue #370

    The importance of Scala.js. Scala on Android. JDK 16's Top 5 for Scala. Many happy early returns. Zio quick read: Extracting the executor for a service.


  16. Scala Times Issue #369

    Tapir serverless: a proof of concept. Writing kubectl plugins with ZIO K8s. The future of Scaladoc. GSoC 2021 Here we come!. Programming in Scala Fifth Edition - New Release for Scala 3.


  17. Scala Times Issue #368

    Scala 3 Tech Report. Tuples bring generic programming to Scala 3. Scala Cats Invariant Functor. Lean for Scala programmers. Structuring Services with ZIO and ZLayer.


  18. Scala Times Issue #367

    The Coralogix Operator: A Tale of ZIO and Kubernetes. Introducing the lihaoyi-scala Github Organization. Why Are Fibers Fast?. Implementing a CountDownLatch (async and dirty). Value Classes in Scala.


  19. Scala Times Issue #366

    GraphQL Overview  -  Part2  -  Libraries. Scala's List has a Secret. Preventing Version Conflicts with versionScheme. Scala 3 Survey: The Conclusion. Upgrade your Tagless Final with Tofu.


  20. Scala Times Issue #365

    Coding Adventures with Party Parrot Game . Scala Cats Contravariant Functors. From First Principles: Why Scala?. Idiomatic Error Handling in Scala. Stop Letting Your Tests “Make” Your Luck.


  21. Scala Times Issue #364

    Why we need yet another Akka Persistence plugin?. Match Types in Scala 3. A Metals Retrospective (Part 1) · Metals. Making the Spark DataFrame composition type safe(r). Type driven API development using Scala and Tapir.


  22. Scala Times Issue #363

    How to Sort Lists in Scala with Tail Recursion. Image editing with Functors. Tail Recursive Functions (in Scala). Algebraic Data Types (ADT) in Scala. Ep 6: Functional error handling with applicative in Scala 3.


  23. Scala Times Issue #362

    5 Blogs for Scala's Birthday. Monocle 3 Roadmap. Higher-kinded data in Scala. Objects and Companions in Scala. Essential Effects, 27th-29th January, Online Event.


  24. Scala Times Issue #361

    Scala 3: Dependent Types, Part II. Configuring and suppressing warnings in Scala. Threading best practices in Cats Effect. Scala 3 Metaprogramming by Example by Adam Warski. What the Functor?.


  25. Scala Times Issue #360

    Scala 3: Dependent Types, Part I. Publish Scala 2 and Scala 3 macros together. Concurrent state machines. Wire Signals - Yet Another Event Streams Library. Scala Love CFP.


Organizing an event?
Promote it with
Scala Times.
The Scala Times reader?
Get a banner!
Got a tip?Send it in!
Follow us onTwitter.
Curated bySoftwareMill.
We arehiring.
Andtaking on projects.