Skip to content

λÆS — Yet Another Effect System

Algebraic Effects for Scala 3 — modular, composable, and built on Virtual Threads.

λÆS is an experimental effect system for Scala 3 inspired by Algebraic Effects. Using Scala 3 context parameters and context functions, it provides a way to define, compose, and handle effects in a modular manner — without monads or complex type class hierarchies.

Effects are first-class: they are tracked in function signatures, composed freely, and executed by handlers. λÆS uses deferred execution and Java 25 Virtual Threads for safe, efficient concurrency.

Integrations

Connect λÆS with the broader Scala ecosystem. Cats Effect 3 interop and SLF4J logging support. Cats Effect · SLF4J Logging

Watch the talk from Scalar 2025 introducing the main concepts behind λÆS:

Watch the Scalar 2025 talk about λÆS