---
title: "#cats-effect articles | Hashnode"
description: "Explore 5 articles tagged #cats-effect on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/cats-effect"
---

Tag

# #cats-effect

5 posts · 2 followers

[Luis Rodero-Merino](https://hashnode.com/@gondolindrim) · [Nov 17, 2024](https://hashnode.com/posts/understanding-kleisli-using-it-to-pass-context-info/673a45c21453d91d121ec267)

### [Understanding Kleisli: using it to pass context info](https://lrodero.hashnode.dev/understanding-kleisli-using-it-to-pass-context-info?utm_source=hashnode&utm_medium=feed)

Kleisli is a term that appears frequently when reading about functional programming. It is an important concept but it is not trivial to grasp. Often it is easier to understand new ideas by putting them into practice, in this blog entry we will see h...

6 min read · [lrodero.hashnode.dev](https://lrodero.hashnode.dev/understanding-kleisli-using-it-to-pass-context-info?utm_source=hashnode&utm_medium=feed)

[Luis Rodero-Merino](https://hashnode.com/@gondolindrim) · [Aug 15, 2024](https://hashnode.com/posts/convert-future-instances-to-cats-effect-io/66be4fb0a62fd73901b56652)

### [Convert Future instances to cats-effect IO](https://lrodero.hashnode.dev/convert-future-instances-to-cats-effect-io?utm_source=hashnode&utm_medium=feed)

Much (most?) of the third-parties software that you will have to deal with will not handle asynchronous actions using our beloved IO monad, they will instead use either Scala’s or Java’s Future. This brief entry shows how to convert those Futures int...

2 min read · [lrodero.hashnode.dev](https://lrodero.hashnode.dev/convert-future-instances-to-cats-effect-io?utm_source=hashnode&utm_medium=feed)

[Luis Rodero-Merino](https://hashnode.com/@gondolindrim) · [Jun 2, 2024](https://hashnode.com/posts/micro-library-for-retries-in-cats-effect-using-scala-extensions/665c56da2c190aae648c4011)

### [Micro library for retries in cats-effect using Scala extensions](https://lrodero.hashnode.dev/micro-library-for-retries-in-cats-effect-using-scala-extensions?utm_source=hashnode&utm_medium=feed)

This blog entry will show how to add a simple retry mechanism to cats-effect (CE) using Scala 3 extensions. The idea is that whenever we define our IO instances we can also specify that, if they fail and certain conditions are met, they will be autom...

6 min read · [lrodero.hashnode.dev](https://lrodero.hashnode.dev/micro-library-for-retries-in-cats-effect-using-scala-extensions?utm_source=hashnode&utm_medium=feed)

[Luis Rodero-Merino](https://hashnode.com/@gondolindrim) · [Mar 24, 2024](https://hashnode.com/posts/dining-philosophers-problem-with-cats-effect/65ffffed83d0b6047c157d61)

### [The dining philosophers problem with Scala 3 and Cats Effect](https://lrodero.hashnode.dev/dining-philosophers-problem-with-cats-effect?utm_source=hashnode&utm_medium=feed)

The dining philosophers problem is a classical concurrency problem. This post shows an example of how you can use Scala 3 and the Cats Effect (CE) libraryto implement a solution of that problem. 💡 All code samples can be compiled using scala-cli. T...

6 min read · [lrodero.hashnode.dev](https://lrodero.hashnode.dev/dining-philosophers-problem-with-cats-effect?utm_source=hashnode&utm_medium=feed)

[Luis Rodero-Merino](https://hashnode.com/@gondolindrim) · [Mar 10, 2024](https://hashnode.com/posts/using-cats-effects-mapref/65edacc5d921f61499fc5bed)

### [Using Cats Effect's MapRef](https://lrodero.hashnode.dev/using-cats-effects-mapref?utm_source=hashnode&utm_medium=feed)

(all code samples can be run using scala-cli) If you use Cats Effect (CE) it is likely you have found that you need a Map instance that has to be fiber-safe as several fibers can access it concurrently. MapRef is a type offered by CE std package that...

2 min read · [lrodero.hashnode.dev](https://lrodero.hashnode.dev/using-cats-effects-mapref?utm_source=hashnode&utm_medium=feed)
