Reader Pattern
We already introduced Reader Monad, It can inject dependency to function by returning a Reader effect.
We already introduced Reader Monad, It can inject dependency to function by returning a Reader effect.
Reader Monad is very popular in FP, you can find lots of high quality blogs by Google.
Cake Pattern is the inborn Dependency Injection in Scala.
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...
今天我们一起来看看如何搭建一个图床