Testing AMQP Consumer reconnect with testcontainersRecently I had to verify that AMQP consumer is resilient to connection failures. By barely finding any examples I decided to present one.Jan 21, 2022A response icon1Jan 21, 2022A response icon1
Scala implicits in DottyToday we overview the changes which will happen to implicits in Dotty.Mar 17, 2020Mar 17, 2020
Composing functions with Reader monadToday we will learn what is a Reader Monad and how to use it. Reader Monad can be extracted from any code which uses constructor…Sep 15, 2019Sep 15, 2019
Stack-safe monadsRecursion plays a huge role in a daily life of every functional programmer. Whenever we have to write a loop we end up writing it with a…Apr 21, 2019Apr 21, 2019
Monad Transformers aren’t hard!For some people monad transformers are magic, today we will learn what is monad transformer, why would one use it and why there are some…Mar 9, 2019A response icon1Mar 9, 2019A response icon1
Monad transformers are they cheap?In the previous posts(post1, post2) we implemented a program for precaching users using different approaches: ReaderWriterStateT…Oct 30, 2018Oct 30, 2018
The beauty of final-tagless and cats-mtlIn the previous post we implemented a program which precaches users with a help of ReaderWriterState monad. Today we will implement the…Oct 26, 2018Oct 26, 2018
ReaderWriterState monad in actionReader, Writer, State has never been so easy to use with ReaderWriterState monad.Oct 24, 2018A response icon1Oct 24, 2018A response icon1
No more Readers in my code!Reader monad is a functional way of implementing dependency injection, but it’s not that popular. Let’s find out why. To do that we will…Sep 19, 2018A response icon2Sep 19, 2018A response icon2