Articles tagged with 'fp'
A Fresh Perspective on Monads: Generalizing Chained Computations
6 min read • • Guide
Explore a fresh perspective on monads: Discover new angles on this familiar concept with Rock the JVM
Founder | Rock The JVM
A Functional Load Balancer with Scala, http4s and Cats Effect
38 min read • • Guide
Build an application load balancer with Scala & Cats Effect: achieve efficiency and concurrency with included tests
A Monad Is a Monoid in the Category of Endofunctors: Scala Explanation
12 min read • • Explanation
What's the problem?
Founder | Rock The JVM
An Introduction to Monads in Scala
9 min read • • Explanation
A Scala tutorial on Monads that starts with practical needs and builds up from scratch: derive the monad patterns (laws) with no assumptions
Founder | Rock The JVM
Custom Pattern Matching in Scala
6 min read • • Guide
Pattern matching is one of Scala's most powerful features: discover how to customize it and create your own patterns in this article
Founder | Rock The JVM
Eta-Expansion and Partially Applied Functions in Scala
5 min read • • Explanation
Explore the intriguing world of eta-expansion: Discover how methods and functions interact in Scala, revealing insights that can elevate your coding game
Founder | Rock The JVM
Free Monads in Scala Explained
16 min read • • Explanation
A tutorial on Free Monads in Scala: Explore how they work and discover their benefits
Founder | Rock The JVM
Functional Collections in Scala
7 min read • • Explanation
Discover a powerful Scala feature that many developers overlook: a concise guide to functional collections that could revolutionize your Scala programming
Founder | Rock The JVM
Functional Error Handling in Kotlin: Part 1 - Absent Values
21 min read • • Guide
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
Functional Error Handling in Kotlin: Part 2 - Result and Either
28 min read • • Guide
Continue your functional error handling journey: explore how to effectively use the Result and Either data types in Kotlin
Functional Error Handling in Kotlin: Part 3 - The Raise DSL
41 min read • • Guide
Wrap up your Kotlin functional error handling journey: discover the Raise DSL in Arrow 1.2.0 for managing typed errors with Kotlin contexts
Higher-Order Functions for Object-Oriented Programmers
5 min read • • Explanation
For OO programmers looking to dive into functional programming in Scala: a gentle introduction to functions working with other functions
Founder | Rock The JVM
http4s: Unleashing the Power of HTTP APIs Library
29 min read • • Guide
Master functional programming basics: use http4s with the Cats ecosystem to seamlessly create powerful HTTP APIs
Kotlin 101: Type Classes Quickly Explained
18 min read • • Guide
Discover type classes in Kotlin: a powerful pattern to organize your code for improved readability, maintainability, and flexibility
N-Queens in Scala: How to Approach Algorithm Questions
1 min read • • Explanation
Learn how to tackle a Google-style algorithm interview question in Scala using pure functional programming
Founder | Rock The JVM
Scala 3: Type-Level Programming
84 min read • • Guide
Discover how type-level programming can be used to tackle practical problems effectively
Semigroups and Monoids in Scala
8 min read • • Explanation
This article provides a gentle introduction to Monoids and Semigroups, exploring functional abstractions and the workings of the Cats library
Founder | Rock The JVM
Sort Lists in Scala with Tail Recursion
6 min read • • Guide
Master List Sorting with Tail Recursion in Scala: Enhance Your Functional Programming Skills and Boost Your Interview Readiness!
Founder | Rock The JVM
The Differences Between Null, Nothing, Nil, None, and Unit in Scala
4 min read • • Explanation
Discover the different flavors of 'nothing-ness' in Scala and how they impact your code
Founder | Rock The JVM
Type-Level Programming in Scala 3: Part 1 - Comparing Types
9 min read • • Guide
Harness the power of givens to infer type relationships in Scala 3: at compile time
Founder | Rock The JVM
Type-Level Programming in Scala 3: Part 2 - A Quicksort on Types
16 min read • • Guide
Level 90 of type-level programming: implementing a real sorting algorithm on lists as types
Founder | Rock The JVM
Type-Level Programming in Scala: Part 1 - Numbers and Comparisons
7 min read • • Guide
Harness the full power of Scala's type system: let the compiler infer complex type relationships for you at compile time
Founder | Rock The JVM
Type-Level Programming in Scala: Part 2 - Adding Numbers as Types
11 min read • • Guide
We continue exploring type-level power in Scala: adding numbers as types at compile time
Founder | Rock The JVM
Type-Level Programming in Scala: Part 3 - Sorting Lists
17 min read • • Guide
The final chapter in our type-level trilogy: mastering list sorting at compile time
Founder | Rock The JVM
What Is Referential Transparency and Why Should You Care?
7 min read • • Explanation
Discover how referential transparency boosts your productivity as a functional programmer in Scala and why it's crucial
Founder | Rock The JVM
Why are Scala Type Classes Useful?
4 min read • • Explanation
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?
Founder | Rock The JVM