Rock the JVM Rock the JVM
ROCKTHEJVM
CoursesArticlesPodcastVideosSign InJoin Rock the JVM

Articles tagged with 'fp'

A Fresh Perspective on Monads: Generalizing Chained Computations

6 min read  •  Aug 30, 2021  •  Guide

Intermediate

fp

Explore a fresh perspective on monads: Discover new angles on this familiar concept with Rock the JVM

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

A Functional Load Balancer with Scala, http4s and Cats Effect

38 min read  •  Oct 30, 2023  •  Guide

Intermediate

cats

cats-effect

fp

Build an application load balancer with Scala & Cats Effect: achieve efficiency and concurrency with included tests

Anzori (Nika) Ghurtchumelia

Anzori (Nika) Ghurtchumelia

A Monad Is a Monoid in the Category of Endofunctors: Scala Explanation

12 min read  •  Apr 6, 2021  •  Explanation

Advanced

category-theory

fp

mathematics

What's the problem?

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

An Introduction to Monads in Scala

9 min read  •  Jun 1, 2020  •  Explanation

Intermediate

category-theory

fp

mathematics

A Scala tutorial on Monads that starts with practical needs and builds up from scratch: derive the monad patterns (laws) with no assumptions

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

Custom Pattern Matching in Scala

6 min read  •  Sep 21, 2021  •  Guide

Intermediate

fp

scala

Pattern matching is one of Scala's most powerful features: discover how to customize it and create your own patterns in this article

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

Eta-Expansion and Partially Applied Functions in Scala

5 min read  •  Aug 29, 2020  •  Explanation

Intermediate

fp

scala

Explore the intriguing world of eta-expansion: Discover how methods and functions interact in Scala, revealing insights that can elevate your coding game

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

Free Monads in Scala Explained

16 min read  •  May 26, 2022  •  Explanation

Advanced

fp

scala

A tutorial on Free Monads in Scala: Explore how they work and discover their benefits

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

Functional Collections in Scala

7 min read  •  May 8, 2021  •  Explanation

Advanced

collections

fp

scala

Discover a powerful Scala feature that many developers overlook: a concise guide to functional collections that could revolutionize your Scala programming

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

Functional Error Handling in Kotlin: Part 1 - Absent Values

21 min read  •  May 3, 2023  •  Guide

Intermediate

kotlin

fp

type-system

Master error handling in Kotlin with ease: discover how nullable types and Arrow Option types tackle errors efficiently, whether you're using object-oriented or functional approaches

Riccardo Cardin

Riccardo Cardin

SSE | lastminute.com

Functional Error Handling in Kotlin: Part 2 - Result and Either

28 min read  •  Jun 16, 2023  •  Guide

Intermediate

kotlin

fp

type-system

Continue your functional error handling journey: explore how to effectively use the Result and Either data types in Kotlin

Riccardo Cardin

Riccardo Cardin

SSE | lastminute.com

Functional Error Handling in Kotlin: Part 3 - The Raise DSL

41 min read  •  Sep 20, 2023  •  Guide

Intermediate

kotlin

fp

type-system

Wrap up your Kotlin functional error handling journey: discover the Raise DSL in Arrow 1.2.0 for managing typed errors with Kotlin contexts

Riccardo Cardin

Riccardo Cardin

SSE | lastminute.com

Higher-Order Functions for Object-Oriented Programmers

5 min read  •  Apr 6, 2020  •  Explanation

Beginner

fp

scala

For OO programmers looking to dive into functional programming in Scala: a gentle introduction to functions working with other functions

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

http4s: Unleashing the Power of HTTP APIs Library

29 min read  •  Jun 7, 2021  •  Guide

Intermediate

cats

cats-effect

fp

Master functional programming basics: use http4s with the Cats ecosystem to seamlessly create powerful HTTP APIs

Riccardo Cardin

Riccardo Cardin

SSE | lastminute.com

Kotlin 101: Type Classes Quickly Explained

18 min read  •  Feb 6, 2024  •  Guide

Intermediate

fp

kotlin

type-system

Discover type classes in Kotlin: a powerful pattern to organize your code for improved readability, maintainability, and flexibility

Riccardo Cardin

Riccardo Cardin

SSE | lastminute.com

N-Queens in Scala: How to Approach Algorithm Questions

1 min read  •  Mar 14, 2021  •  Explanation

Intermediate

algorithms

fp

scala

Learn how to tackle a Google-style algorithm interview question in Scala using pure functional programming

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

Scala 3: The Evolution of a Macro

60 min read  •  Apr 10, 2025  •  Guide

Advanced

fp

scala

scala-3

Discover how a macro can evolve to reduce boilerplate in your code

Daniel Beskin

Daniel Beskin

Scala 3: Type-Level Programming

84 min read  •  Dec 6, 2023  •  Guide

Advanced

fp

scala

scala-3

Discover how type-level programming can be used to tackle practical problems effectively

Daniel Beskin

Daniel Beskin

Semigroups and Monoids in Scala

8 min read  •  Mar 19, 2021  •  Explanation

Intermediate

category-theory

cats

fp

This article provides a gentle introduction to Monoids and Semigroups, exploring functional abstractions and the workings of the Cats library

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

Sort Lists in Scala with Tail Recursion

6 min read  •  Jan 25, 2021  •  Guide

Beginner

algorithms

fp

scala

Master List Sorting with Tail Recursion in Scala: Enhance Your Functional Programming Skills and Boost Your Interview Readiness!

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

The Differences Between Null, Nothing, Nil, None, and Unit in Scala

4 min read  •  Jul 31, 2020  •  Explanation

Beginner

fp

scala

type-system

Discover the different flavors of 'nothing-ness' in Scala and how they impact your code

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

The Effect Pattern and Effect Systems in Scala

35 min read  •  Feb 17, 2026  •  Explanation

Intermediate

scala-3

fp

effect-systems

Explore Scala effect systems from monadic approaches (Cats Effect, ZIO, Kyo) to novel direct-style handlers using context functions, including Ox and YAES

Riccardo Cardin

Riccardo Cardin

SSE | lastminute.com

Type-Level Programming in Scala 3: Part 1 - Comparing Types

9 min read  •  Oct 4, 2021  •  Guide

Advanced

fp

scala

scala-3

Harness the power of givens to infer type relationships in Scala 3: at compile time

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

Type-Level Programming in Scala 3: Part 2 - A Quicksort on Types

16 min read  •  Oct 11, 2021  •  Guide

Advanced

fp

scala

scala-3

Level 90 of type-level programming: implementing a real sorting algorithm on lists as types

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

Type-Level Programming in Scala: Part 1 - Numbers and Comparisons

7 min read  •  Aug 10, 2020  •  Guide

Advanced

fp

scala

type-system

Harness the full power of Scala's type system: let the compiler infer complex type relationships for you at compile time

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

Type-Level Programming in Scala: Part 2 - Adding Numbers as Types

11 min read  •  Aug 17, 2020  •  Guide

Advanced

fp

scala

type-system

We continue exploring type-level power in Scala: adding numbers as types at compile time

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

Type-Level Programming in Scala: Part 3 - Sorting Lists

17 min read  •  Aug 25, 2020  •  Guide

Advanced

fp

scala

type-system

The final chapter in our type-level trilogy: mastering list sorting at compile time

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

What Is Referential Transparency and Why Should You Care?

7 min read  •  Jul 29, 2021  •  Explanation

Intermediate

fp

scala

Discover how referential transparency boosts your productivity as a functional programmer in Scala and why it's crucial

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

Why are Scala Type Classes Useful?

4 min read  •  Jun 11, 2020  •  Explanation

Intermediate

fp

scala

type-system

FP fans discuss the challenge of type classes in pure functional programming with Scala: why are they difficult, and why do we really need them?

Daniel Ciocîrlan

Daniel Ciocîrlan

Founder | Rock the JVM

This site uses cookies. Check our cookie policy (TLDR: no personal information is stored). For more information see our cookie policy.

Footer

Subscribe to our newsletter!

This site is built on trust, and your data is safe. Check out the privacy policy .

Thank you for subscribing! Check your email for confirmation.

Content

  • Articles
  • Courses
  • Videos
  • Scala Courses
  • Kotlin Courses
  • Typelevel Courses
  • ZIO Courses
  • Apache Spark Courses
  • Apache Flink Courses
  • Akka/Pekko Courses

Support

  • Contact
  • Memberships

Company

  • About

Policies

  • Cookie
  • Privacy
  • Refund
  • Terms
  • Trademark
  • Facebook
  • GitHub
  • LinkedIn
  • Twitter
  • YouTube
  • RSS

© 2017–2026 Accelerated Learning System SRL