Recent Posts

Reader Pattern

5 minute read

We already introduced Reader Monad, It can inject dependency to function by returning a Reader effect.

Reader Monad

10 minute read

Reader Monad is very popular in FP, you can find lots of high quality blogs by Google.

Cake Pattern

8 minute read

Cake Pattern is the inborn Dependency Injection in Scala.

Self-types

5 minute read

In this blog, we will talk about Self-types which is not used very often, but it’s an important concept to understand Cake Pattern, so it’s worth to do a sim...