Scala Design Patterns.
上QQ阅读APP看书,第一时间看更新

Functors

Functors come from category theory, and as for monads, it takes time to explain them properly. We will look at functors later in this book. For now, you could remember that functors are things that can allow us to lift a function of the type A => B to a function of the type F[A] => F[B].