Applied Functional Programming in Scala: Architecting composable systems with Scala higher-order functions, algebraic data types, and advanced functional patterns (English Edition)
ANT
• Instant access to your digital edition.
• Read anytime, anywhere, on your favorite device.
• No shipping — your book is delivered digitally.
• Simple, secure access after purchase.
Instant digital delivery after purchase.
Discover another great read to add to your digital library.
Description
Functional programming is transforming how we build robust, scalable, and maintainable software by prioritizing clarity and predictability. It emphasizes what to compute by defining expressions that map values to other values, and focuses on how to achieve a result through a sequence of statements that change program state.
This book explores core functional principles like immutability, pure functions, and referential transparency. You will gain a deep understanding of the mathematical underpinnings through category theory concepts like Functors and Monads, and then apply these practically using Scala functional features and leading libraries such as Cats and ZIO. The book also covers handling effects and I/O, advanced functional patterns, and using specialized tools to build functional web, database, and streaming solutions. With real examples and patterns, it shows how these ideas can simplify code, improve testability, and increase system resilience.
By the end of this book, you will have a theoretical understanding and practical proficiency in building high-quality, maintainable applications using functional programming in Scala.
What you will learn
● Implement Scala higher-order functions, currying, and Option/Either.
● Understand Functors, Monads, and their category theory relevance.
● Utilize Cats type classes for extensible functional programming.
● Build scalable applications using FP patterns.
● Manage side-effects and I/O functionally using effect systems.
● Real-world use of functional programming.
Who this book is for
This book is for software engineers, developers, and architects seeking to write more composable, testable, and expressive code. Readers should have a basic understanding of programming concepts, but no prior functional language experience is required.
Table of Contents
1. Fundamentals of Functional Programming
2. Implementation of Category Theory
3. Introduction to Scala
4. Understanding Cats
5. Understanding ZIO
6. Effects Implementation in Pure Way
7. Functional Pattern Implementation
8. Functional Tools
9. Web Implementation in Functional Way
10. DB Implementation in Functional Way
11. Functional Streams for Scala
12. Case Study on Functional Toy E-commerce Site
Specifications
Frequently asked
Do I need an account to download?
No. After purchase, you can access your ebook directly from the order confirmation or download page.
What if a copy arrives damaged?
Contact us and we’ll help you access the file or provide a replacement download if needed.