|Functional Programming in Scala
Paul Chiusano and Rúnar Bjarnason
MEAP Began: February 2012
Softbound print: September 2013 (est.) | 325 pages
|Order today and start reading Functional Programming in Scala today through MEAP|
|MEAP + Ebook only - $35.99|
|MEAP + Print book (includes Ebook) when available - $44.99|
|* For more information, please see the MEAP FAQs page.|
|About MEAP Release Date Estimates|
Table of Contents, MEAP Chapters & Resources
|Table of Contents||Resources|
PART 1: INTRODUCTION TO FUNCTIONAL PROGRAMMING
1. What is functional programming? - FREE
2. Getting Started - AVAILABLE
3. Functional data structures - AVAILABLE
4. Handling errors without exceptions - AVAILABLE
5. Strictness and laziness - AVAILABLE
6. Purely functional state - AVAILABLE
PART 2: FUNCTIONAL DESIGN AND COMBINATOR LIBRARIES
7. Purely functional parallelism - AVAILABLE
8. Property-based testing - AVAILABLE
9. Parser combinators - AVAILABLE
PART 3: FUNCTIONAL DESIGN PATTERNS
10. Monoids - AVAILABLE
11. Monads - AVAILABLE
12. Applicative and traversable functors - AVAILABLE
PART 4: BREAKING THE RULES: EFFECTS AND I/O
13. External effects and I/O - AVAILABLE
14. Local effects and the ST monad - AVAILABLE
15. Stream processing and incremental I/O - AVAILABLE
Functional programming (FP) is a programming style emphasizing functions that return consistent and predictable results regardless of a program's state. As a result, functional code is easier to test and reuse, simpler to parallelize, and less prone to bugs. Scala is an emerging JVM language that offers strong support for FP. Its familiar syntax and transparent interoperability with existing Java libraries make Scala a great place to start learning FP.
Functional Programming in Scala is a serious tutorial for programmers looking to learn FP and apply it to the everyday business of coding. The book guides readers from basic techniques to advanced topics in a logical, concise, and clear progression. In it, you'll find concrete examples and exercises that open up the world of functional programming.
You'll discover simple but powerful ideas and techniques that cut through the complexity of modern software engineering, including writing multi-core and distributed programs. You'll learn how FP gives you high confidence in the correctness of your code and helps you design software at high levels of abstraction so that even very large systems become comprehensible at a glance.
- Functional programming from square one in clear, readable language
- No prior Scala experience needed
- Learn both the hows and whys of FP
No prior experience with FP or Scala is required. Perfect for programmers familiar with FP in other languages wishing to apply their knowledge in Scala.
About the Authors
Paul Chiusano and Rúnar Bjarnason are recognized experts in functional programming with Scala. Each has been writing Scala and using FP professionally for several years. Paul is a Scalaz contributor, blogs and speaks regularly on Scala and FP. Rúnar is a principal contributor to Scalaz and the Functional Java library and has been using and teaching FP since 2008.
About the Early Access Version
This Early Access version of Functional Programming in Scala enables you to receive new chapters as they are being written. You can also interact with the authors to ask questions, provide feedback and errata, and help shape the final manuscript on the Author Online
Want to learn More?
Sign up to read more content when it is released and to receive news about this book.