Flavors of shared state in Cats Effect
In this post, we will explore the various ways to share state in a Cats Effect application.
2 March 2024
In this post, we will explore the various ways to share state in a Cats Effect application.
Everyone knows that naming things is hard. In fact, often it seems to be one of the hardest things in computer science and programming in general. In addition, sometimes a single word has multiple meanings, or worse - a term is explained in a variety of slightly differing definitions. One such term is a pure function.
A week ago, while coming back from Scalar, I was thinking about coherent data. In particular, I was wondering if it's possible to perform certain simple validations and encode their results in types. Here's what i found.