Functional Programming in Scala, Second Edition you own this product

Michael Pilquist, Rúnar Bjarnason, and Paul Chiusano
Forewords by Martin Odersky and Daniel Spiewak
  • May 2023
  • ISBN 9781617299582
  • 488 pages
  • printed in black & white
  • includes free previous edition eBook

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
This international bestseller has been revised with new exercises, annotations, and full coverage of Scala 3.

In Functional Programming in Scala, Second Edition you will learn how to:

  • Recognize and write purely functional code
  • Work with errors without using exceptions
  • Work with state and concurrency
  • Interact with functional structures that define common behaviors
  • Write code that performs I/O without sacrificing functional programming

Functional Programming in Scala has helped over 30,000 developers discover the power of functional programming. You’ll soon see why reviewers have called it “mindblowing”! The book smooths the complexity curve of functional programming, making it simple to understand the basics and intuitive to progress to more advanced topics. Concrete examples and exercises show you FP in the real world and reveal how it can improve your everyday coding practices. This second edition comes packed with the latest standards of FP, as well as full code updates to Scala 3, and its new language features.

about the technology

Functional code is easy to test, reuse, and parallelize, and it’s practically immune to whole categories of state-related bugs. With its strong functional features, familiar syntax, and seamless interoperability with Java, there’s no better place to start learning functional programming than the flexible Scala language.

about the book

In Functional Programming in Scala, Second Edition you’ll learn functional programming from first principles. Hands-on exercises and examples make it easy to start thinking and coding functionally. This revised edition contains extensive exercise annotations to help you explore FP in depth, along with steps to build your own functional libraries in Scala. Once the functional lightbulb goes on, you’ll never look at coding the same way again.

what's inside

  • Recognize and write purely functional code
  • Work with errors without using exceptions
  • Work with state and concurrency
  • Interact with functional structures that define common behaviors

about the reader

For Java or Scala programmers. No knowledge of functional programming required.

about the authors

Michael Pilquist is the lead maintainer of FS2, a functional streaming library, and contributes to the Typelevel ecosystem. Paul Chiusano and Rúnar Bjarnason are recognized experts in functional programming and authors of the first edition of Functional Programming with Scala.

Functional programming in Scala, both the technique and the book, have entrenched themselves firmly in the landscape of the language and ecosystem….This new edition is an effective companion for the community inventing tomorrow.

From the Foreword by Daniel Spiewak, Creator of Cats Effect

Deepen your understanding of practical functional programming in Scala with this, the ultimate guide.

Bill Venners, Artima

The first edition of FPiS was one of the turning points in my journey through the FP rabbit hole. It was eye-opening to be able to prove that one typeclass interface is equivalent to another. The book’s second edition preserves the unique vision of FPiS: to guide readers via practical coding idioms towards a mathematically rigorous approach in FP.

Sergei Winitzki, Workday

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Functional Programming in Scala, Second Edition ebook for free

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Functional Programming in Scala, Second Edition ebook for free

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Functional Programming in Scala, Second Edition ebook for free