About the Book
Practical FP in Scala: A hands-on approach, is a book for intermediate to advanced Scala developers. Aimed at those who understand functional effects, referential transparency and the benefits of functional programming to some extent but who are missing some pieces to put all these concepts together to build a large application in a time-constrained manner.
Throughout the chapters we will design, architect and develop a complete stateful application serving an API via HTTP, accessing a database and dealing with cached data, using the best practices and best functional libraries available in the Cats ecosystem.
You will also learn about common design patterns such as managing state, error handling and anti-patterns, all accompanied by clear examples. Furthermore, at the end of the book, we will dive into some advanced concepts such as MTL, Classy Optics and Typeclass derivation.
The book is supplemented by two Scala projects:
- Shopping Cart application: https://github.com/gvolpe/pfps-shopping-cart
- Standalone examples: https://github.com/gvolpe/pfps-examples
Got some feedback? Please email the author here: pfpscala at gmail dot com.
About the Author
Gabriel Volpe is a Software Engineer, specialized in functional programming, from Buenos Aires, Argentina. He has been writing code since 2005, using Scala professionally since 2014 and Haskell since 2017. He is also the author of some open-source Scala libraries such as Fs2 Rabbit and Redis4Cats. You can find him giving talks at functional programming conferences and meetups all over the world as well as helping people out on Gitter.