Content-Length: 31430 | pFad | http://www.scalar-conf.com/talk/yo-dawg-heard-you-want-to-flatmap-your-direct-style

Scalar Talks
LOADING

Yo Dawg, Heard You Want To FlatMap Your Direct-Style

During the talk, we’ll build a small effect system using solely Scala 3 context functions step-by-step.

Riccardo Cardin
Senior Software Engineer at Lastminute.com, Blogger at RockTheJvm.com
About This Talk

The direct style in Scala 3, influenced by languages like Kotlin and Rust, simplifies functional programming by eliminating for-comprehension syntax on higher-kinded types. It offers an imperative approach supported by context functions.

While some many Scala developers support it, others prefer the traditional functional styles used in libraries like Cats Effect and ZIO, which manage effects differently. The potential of combining Algebraic Effects and Handlers with Scala 3's direct style opens new possibilities for exploring different programming paradigms and libraries.

During the talk, we’ll build a small effect system using solely Scala 3 context functions step-by-step. With some enhancements to the common approach, we’ll discover that adding for-comprehension capabilities to such a system is possible, ending with a system that can express the same program using either direct style syntax or monad style.

more great talks

Might Be Interesting

Day 2
  —  
arrow pointing right icon

Scala Sampler for Functional Soundscapes

Discover how functional programming can inspire creativity with the Scala Sampler, a digital music instrument developed for the Sounds of Scala web audio library.

Day 1
  —  
arrow pointing right icon

What does the functor do on the tree?

In this talk we'll see how to model a tree structure in Scala, take both imperative and functional approaches to tree traversal algorithms, and do some ASCII art at the same time.

Day 2
  —  
arrow pointing right icon

How Scala is made and how you can help?

In this talk I will explain the inner workings of an organisation that goes into releasing, maintaining and developing Scala and core parts of its ecosystem.

Day 1
  —  
arrow pointing right icon

Better Scala builds with the Mill build tool

This talk will introduce Mill: a newer build tool that does everything SBT does, but better. Faster, simpler, easier, Mill democratizes the build so you don't need to be a build tool expert to work on it.

See All Events
Join us!

We're looking for amazing speakers.
CFP is open till 10.01.2023

Fill in Call for Papers
location icon

Location

Centrum Konferencyjne POLIN, Poland
stay in touch icon

Follow Us

Contact Us








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://www.scalar-conf.com/talk/yo-dawg-heard-you-want-to-flatmap-your-direct-style

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy