A free, once-weekly Scala news flash. Easy to unsubscribe. Goes out every Thursday.
June 12th, 2023, ISSUE 485


Functional Declarative Design

A Comprehensive Methodology for Statically-Typed Functional Programming Languages.
Alexander Granin (@graninas)
Phantom Types

Phantom Types are simply type parameters which have no associated values. They exclusively haunt the type level, and inhabit no corporeal run-time forms.
Kit Langton (@kitlangton)
How to use Large Language Models for Scala documentation

Large Language Models can potentially revolutionise how programmers seek assistance with their queries and concerns related to Scala3. With the advent of models like ChatGPT and open-source alternatives such as flan-alpaca, BERT, and gpt4all, programmers can access quick and accurate responses to their inquiries, saving them valuable time and energy.
Joanna Sendorek, Paulina Żak
Scala 3 Significant Indentation Woes: Sample

Here's a fairly straightforward Scala 3 sample, using significant indentation. Can you spot the compilation error?
Alexandru Nedelcu (@alexelcu)
Iron updates: turning opaque types into value objects

Disclaimer. It is not a full-featured introduction to Iron library. The note highlights a couple of updates that seem very important to me. The updates are not released yet, and there is even one unassigned “first good issue” ticket. It could be a good thing to tackle for somebody.
Anton Kovalevsky (@antonkw_sky)
Why we used Quill in RealWorld project?

Quill has provided convenient and type-safe query typing, and its wide range of functionality made coding easy.
Adrian Wydra
HTTP Authentication with Scala and Http4s

This article shows us four different ways of implementing HTTP authentication in Scala using Http4s, these include Basic, Digest, Session, and Token authentication methods.
Daniel Ciocîrlan (@rockthejvm)
ScalaBridge in 2023

ScalaBridge London is a community for learning Scala, for people who are underrepresented in technology. We last met in 2020, stopping when COVID made it impossible to continue. I want to restart ScalaBridge London. Here’s the plan.
Noel Welsh (@noelwelsh)
Scala: Executable Pseudocode that's Easy, Boring, and Fast

This blog post will explore how the Scala libraries from the com.lihaoyi ecosystem allows the use of Scala as Executable Pseudocode, due to their unique design philosophy that stands out amongst the rest of the Scala ecosystem.
Li Haoyi (@li_haoyi)


Introduction to Scala 3 (video course)

Welcome! This is a short introduction to my new video training course, Introduction to Scala 3.
Alvin Alexander (@alvinalexander)


10% discount for LambdaConf, Sept 16th-19th, Estes Park, Colorado

LambdaConf returns in its first edition after the pandemic, reimagined as a multi-disciplinary developer conference featuring thought-provoking, entertaining, and mind-blowing talks and workshops that will forever change the way you write software.
Ziverge (@zivergetech)
Call For Proposals - LambdaConf 2023

Send your talk and join LambdaConf!
Ziverge (@zivergetech)
Call for Volunteers - LambdaConf 2023

Become part of the team!
Ziverge (@zivergetech)
10% discount for Functional Scala, Nov 30th - Dec 1st, London

Use code ScalaTimesFS2023 and get our exclusive discount!
Ziverge (@zivergetech)
ScalaWAW #28, June 28th, Warsaw

Talks: Concurrency in Scala: from locks to STM, Going serverless with Scala Native.
ScalaWAW (@scalawaw)


sbt 1.9.0

POM consistency of sbt plugin publishing, sbt new, releaseNotesURL, deprecation of IntegrationTest configuration.
sbt contributors

A Scala compiler plugin for better ZIO type mismatch errors.
Igal Tabachnik (@hmemcpy)
Scala Native 0.4.14

This release does not introduce any major improvements, but comes with variety of bugfixes.
Scala Native contributors (@scala_native)

A project whose goal is to offer a convenient interface to modern AI techniques so your team can quickly move from ideas to proofs of concepts to integrating AI into your business processes.
Xebia Functional (@xebiafunctional)
Scala 2.13.11

Faster Vector concatenation, New LinkedHashMap/LinkedHashSet implementation, support for JDK 20 & 21, Support Java 17 sealed, alignments for Scala 3.3 and more.
Scala contributors
Scala 2.12.18

Support for JDK 20 and 21, aids for migrating to Scala 2.13 and Scala 3, improved linting and tooling.
Scala contributors
Typelevel toolkit

Quickstart your next app with the Typelevel Toolkit!
Typelevel (@typelevel)

  1. Scala Times Issue #500

    IntelliJScala @ Scala Days 2023 Madrid. OOP classes vs Higher-order Functions (HOFs). Work-in-Progress Scala 3 Specification. 10% discount for Functional Scala, Nov 30th - Dec 1st, London. LambdaConf 2024, May 4th-10th, Estes Park, Colorado.

  2. Scala Times Issue #499

    State of Scala 2023 by ScalaCenter and VirtusLab. JDK 21 LTS - All Features Explained!. The Scala Center Fundraising Campaign. So, What's So Special About The Mill Scala Build Tool?. Kyo: Toolkit for Scala Development.

  3. Scala Times Issue #498

    Generating a Rust client library for ZIO Http endpoints. Why Scala Dominates Data Engineering. CFP: NEScala 2023. London Scala Talks, Sept 20th. 10% discount for Functional Scala, Nov 30th - Dec 1st, London.

  4. Scala Times Issue #497

    Compare Task Processing Approaches in Scala. Temporal Workflows with ZIO: Introduction. REST APIs Using Play Framework and Scala: A Comprehensive Guide. Automating Data Transformations with ducktape. CFP: NEScala 2023.

  5. Scala Times Issue #496

    Lightbend transfers ownership of sbt to the Scala Center. Type safety with Iron. Scala Days Madrid, Sept 11th-12th. Performance Optimization on the JVM, Sept 11th-15th, Online. London Scala Talks, Sept 20th.

  6. Scala Times Issue #495

    Slack Bot in Scala and 12 Ways to Run It. Cost of boxing. Diving into ZIO Test 'Aspects'. Contribution Equals Impact. Do your Values align with FP Values?.

  7. Scala Times Issue #494

    Cats Effect vs ZIO. Principles of developing applications in Scala. The Scala Week in Madrid. Scala Days Madrid, Sept 11th-12th. Performance Optimization on the JVM, Sept 11th-15th, Online.

  8. Scala Times Issue #493

    Native app development with sttp and Scala Toolkit. ZIO Kafka with Jules & Erik. ScalaWAW #30, Aug 17th, Warsaw. Scala Days Madrid, Sept 11th-12th. Performance Optimization on the JVM, Sept 11th-15th, Online.

  9. Scala Times Issue #492

    Go-like channels in Scala: receive, send, and default clauses. IntelliJ Scala Plugin 2023.2 Is Out!. Scala Days Madrid, Sept 11th-12th. Performance Optimization on the JVM, Sept 11th-15th, Online. 10% discount for Functional Scala, Nov 30th - Dec 1st, London.

  10. Scala Times Issue #491

    Scala Websites Improvements. Signature polymorphic methods in Scala. Scala Center Roadmap for 2023 Q3. Zymposium - ZIO Maelstrom. Zymposium - Partial Functions & Future ZIO HTTP Features.

  11. Scala Times Issue #490

    How to implement streaming microservices with ZIO 2 and Kafka. Automation tools for Scala development. Introduction to optics in Scala. Comprehensive Data Validation in Scala. ZIO 2 Runtime Improvements .

  12. Scala Times Issue #489

    6 Common Misconceptions Around Akka-HTTP / Pekko-HTTP. "No More Orphans" in Practice. Interesting patterns to consume ZIO Streams. Why I keep choosing ZIO!. Breaking framework chains with vanilla Scala.

  13. Scala Times Issue #488

    Two types of futures. Chatbot Showdown: Typelevel Scala Edition. An intro to Flow Fields in Scala. Mastering ScalaTest - Exploring Tagging, Retry, Runner and More. Top Scala open source projects and contributors.

  14. Scala Times Issue #487

    5 Scala Libraries That Will Make Your Life Easier. Post-Conference Notes on Scala Days 2023 Seattle. Dependency Injection with Cats-effect Resource Monad. Developer Ecosystem Survey 2023. ScalaWAW #28, June 28th, Warsaw.

  15. Scala Times Issue #486

    Getting started with ZIO, part 1. Introducing ZIO Flow. The Business of the Scala Programming Language. ScalaWAW #28, June 28th, Warsaw. 10% discount for LambdaConf, Sept 16th-19th, Estes Park, Colorado.

  16. Scala Times Issue #485

    Functional Declarative Design. How to use Large Language Models for Scala documentation. Scala 3 Significant Indentation Woes: Sample. Iron updates: turning opaque types into value objects. Why we used Quill in RealWorld project?.

  17. Scala Times Issue #484

    Google Summer of Code 2023 Timeline. Scala 3 Enums. On the road to Scala 3. Encoding Base58: Understanding and implementing in Scala. Teach Your Web API To Speak Loud And Clear CLI!.

  18. Scala Times Issue #483

    A Splendid Scala Journey. From spring boot to ZIO. Two More Old Cents on Scala 3 Migration. Functional Design with Scala 3, May 29th-30th. 10% discount for LambdaConf, Sept 16th-19th, Boulder, Colorado.

  19. Scala Times Issue #482

    The Scala 3 compatibility story. The RedMonk Programming Language Rankings: January 2023. Akka: Enabling the Cloud to Edge Continuum. Writing a GitHub Action with Scala.js. Chain of responsability with Scala partial functions.

  20. Scala Times Issue #481

    Scala and Kotlin Under One Roof. Intermediate's guide to derivations in Scala: Magnolia. Replacing sbt with scala-cli in a simple project. Scala Server Security with Http4s: CORS and CSRF. Art of Scala, May 25th, Warsaw.

  21. Scala Times Issue #480

    More than just HelloWorld.json in sttp & upickle. Single-File JVM Apps: Rapid Development. Single-File JVM Apps Pt. 2: AWS Lambda Simplified. Mastering SBT: Tips and Tricks for Using Not-So-Common Features. Accumulate errors in Scala with typelevel cats.

  22. Scala Times Issue #479

    Kotlin Coroutines to Cats-Effect. Build your vocabulary with Scala affixes. Scala.js Interoperability with TypeScript/JavaScript. Introduction to Scala Development using VS Code. Call For Proposals - ZIO WORLD 2023 .

  23. Scala Times Issue #478

    Concurrency with Cats Effect. Using Vulcan Codecs with Kafka Java APIs. Scala Center Activity Report for 2023 Q1. Are you sure your Scala 3 opaque types don’t instantiate?. Underrated Scala Features and Hidden Gems in the Standard Library.

  24. Scala Times Issue #477

    Good practices for schema evolution with Protobuf using ScalaPB and fs2grpc. New Scala Build Tool. March 2023 - Scala Tooling Summit. Conferences are BACK! (Scalar Conf 2023 recap). Direct Style Scala.

  25. Scala Times Issue #476

    ZIO SQL: Type-safe SQL for ZIO applications. Go-like channels using project Loom and Scala. Functional Error Handling in Scala. Top 10 pattern matching tips in Scala. Programming in Scala: Carbon Footprint.

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.