Chapter 11. Patterns in functional programming

 

In this chapter
  • Functors, monads, and applicative functors
  • Configuring applications using applicative style
  • Composing workflows using monads and for expressions

 

Functional programming is the practice of composing programs using functions. It’s an area of software design and architecture that has been neglected in mainstream books and classes since the emergence of object-oriented programming. Functional programming offers a lot to the object-oriented developer and can nicely complement standard object-oriented practices.

Functional programming is a relatively large topic to try to compress into a single chapter. Instead, this chapter introduces a few key abstractions used in functional programming ...

Get Scala in Depth now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.